Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere PHP API » Installing and configuring SQL Anywhere PHP

 

Choosing which PHP module to use

On Windows, SQL Anywhere includes modules for PHP version 5. The module file names for the supported PHP versions follow this pattern:

php-5.x.y_sqlanywhere.dll

On Linux and Solaris, SQL Anywhere includes both 64-bit and 32-bit versions of the modules for PHP version 5. It also includes both threaded and non-threaded modules. If you are using the CGI version of PHP or if you are using Apache 1.x, use the non-threaded module. If you are using Apache 2.x, use the threaded module. The module file names for the supported PHP versions follow this pattern:

php-5.x.y_sqlanywhere[_r].so

The "5.x.y" represents the PHP version (for example, 5.2.6). For Linux and Solaris, the threaded version of the PHP module has _r appended to the file name. Windows versions are implemented as Dynamic Link Libraries and Linux versions are implemented as Shared Objects.