Currently Being Moderated

The SAP SQL Anywhere PHP Module

What is it?

PHP is an open source scripting language. Although it can be used as a general-purpose scripting language, it was designed to be a convenient language in which to write scripts that could be embedded with HTML documents. Unlike scripts written in JavaScript, which are frequently executed by the client, PHP scripts are processed by the web server, and the resulting HTML output sent to the clients. The syntax of PHP is derived from that of other popular languages, such as Java and Perl.

 

To make it a convenient language in which to develop dynamic web pages, PHP provides the ability to retrieve information from many popular databases, such as SQL Anywhere. Included with SQL Anywhere are modules that provide access to SQL Anywhere databases from PHP. You can use these modules and the PHP language to write stand-alone scripts and create dynamic web pages that rely on information stored in SQL Anywhere databases.

 

Prebuilt versions of the PHP modules are provided for Windows, and Linux and are installed in the operating-system-specific subdirectories of your SQL Anywhere installation. Binaries can also be downloaded below. Your SQL Anywhere PHP Module must match your version of PHP. We will add pre-build binaries for new versions of PHP, but you can build your own if we do not get them built quickly enough for you.

 

The PHP modules require SQL Anywhere 10.0.1.3767 or greater.

 

Developer's Resources

 

Download

PHP 5.6

  • We are in the processes of building drivers for PHP 5.6, and will post them when available. Sorry for any inconvenience. In the meantime, they can be built from source using the link below.


PHP 5.5


PHP 5.4

 

PHP 5.3 and Earlier (No Longer Supported)

 

Building the Driver from Source

The SQL Anywhere PHP Module source code is released under the Apache License, Version 2.

 

Download the source code

Comments

Delete Document

Are you sure you want to delete this document?