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 two 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.
The PHP functionality is provided by a DLL on 32-bit Windows versions of SQL Anywhere, and by a shared object on Linux for x86. Source code for the SQLAnywhere PHP module is installed in the src\php subdirectory of your SQL Anywhere installation. Prebuilt versions are installed in the operating-system-specific binaries subdirectory of your SQL Anywhere installation.
Before you can use the SQL Anywhere PHP module, you must install the following components:
The PHP binaries for your platform, which can be downloaded from http://www.php.net.
A web server, if you want to run PHP scripts within a web server. SQL Anywhere can be run on the same computer as the web server, or on a different computer.
The SQL Anywhere client software dblib10.dll (Windows), libdblib10.so (Linux/Unix), or libdblib10.dylib (Mac OS X).