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

SQL Anywhere 11.0.1 (Français) » 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 thread-safe modules for PHP versions 5.1.1 to 5.2.6. A thread-safe version of PHP must be used with the SQL Anywhere PHP module. 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 versions 5.1.1 to 5.2.6. 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/Solaris versions are implemented as Shared Objects.