PHP extensions

On Windows, SQL Anywhere includes thread-safe extensions for PHP versions 5.1.1 to 5.2.11 and 5.3.0 to 5.3.5. A thread-safe version of PHP must be used with the SQL Anywhere PHP extension. The extension file names for the supported PHP versions follow this pattern:

php-5.x.y_sqlanywhere.dll

On Windows, SQL Anywhere also includes non-thread-safe extensions for PHP versions 5.2.11 and 5.3.0 to 5.3.5. A non-thread-safe version of PHP may be used with multi-processed but not multi-threaded web servers such as Apache and IIS. The extension file names for the supported PHP versions follow this pattern:

php-5.x.y_sqlanywhere_nts.dll

On Linux and Solaris, SQL Anywhere includes both 64-bit and 32-bit versions of the extensions for PHP versions 5.1.1 to 5.2.11 and 5.3.0 to 5.3.5. It also includes both threaded and non-threaded extensions. If you are using the CGI version of PHP or if you are using Apache 1.x, use the non-threaded extension. If you are using Apache 2.x, use the threaded extension. The extension 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.11). For Linux and Solaris, the threaded version of the PHP extension has _r appended to the file name. Windows versions are implemented as Dynamic Link Libraries and Linux/Solaris versions are implemented as Shared Objects. If you are using a later version of PHP, then you can check the Internet for the latest SQL Anywhere PHP drivers at [external link] http://www.sybase.com/detail?id=1019698.