Currently Being Moderated

The SAP Sybase 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


 

Pre-Built Driver Binaries


Download the most recent PHP drivers below by selecting the appropriate platform and version of PHP. On Linux, SQL Anywhere has both 64-bit and 32-bit versions of the modules for PHP version 5. It also has 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. Also, if you are using using the PHP external environment support, you must use the threaded modules. For Linux, the threaded version of the PHP modules have '_r' appended to the file name. Windows versions are implemented as Dynamic Link Libraries and Linux versions are implemented as Shared Objects.

 

PHP Version

Platform
WindowsLinux
32-Bit64-Bit
Thread SafeSingle ThreadedThread SafeSingle ThreadedThread SafeSingle Threaded
5.4.12DownloadDownloadDownloadDownloadDownloadDownload
5.4.11DownloadDownloadDownloadDownloadDownloadDownload
5.4.10DownloadDownloadDownloadDownloadDownloadDownload
5.4.9DownloadDownloadDownloadDownloadDownloadDownload
5.4.8DownloadDownloadDownloadDownloadDownloadDownload
5.4.7DownloadDownloadDownloadDownloadDownloadDownload
5.4.6DownloadDownloadDownloadDownloadDownloadDownload
5.4.5DownloadDownloadDownloadDownloadDownloadDownload
5.4.4DownloadDownloadDownloadDownloadDownloadDownload
5.4.3DownloadDownloadDownloadDownloadDownloadDownload
5.4.2DownloadDownloadDownloadDownloadDownloadDownload
5.4.1DownloadDownloadDownloadDownloadDownloadDownload
5.4.0DownloadDownloadDownloadDownloadDownloadDownload
5.3.22DownloadDownloadDownloadDownloadDownloadDownload
5.3.21DownloadDownloadDownloadDownloadDownloadDownload
5.3.20DownloadDownloadDownloadDownloadDownloadDownload
5.3.19DownloadDownloadDownloadDownloadDownloadDownload
5.3.18DownloadDownloadDownloadDownloadDownloadDownload
5.3.17DownloadDownloadDownloadDownloadDownloadDownload
5.3.16DownloadDownloadDownloadDownloadDownloadDownload
5.3.15DownloadDownloadDownloadDownloadDownloadDownload
5.3.14DownloadDownloadDownloadDownloadDownloadDownload
5.3.13DownloadDownloadDownloadDownloadDownloadDownload
5.3.12DownloadDownloadDownloadDownloadDownloadDownload
5.3.11DownloadDownloadDownloadDownloadDownloadDownload
5.3.10DownloadDownloadDownloadDownloadDownloadDownload
5.3.9DownloadDownloadDownloadDownloadDownloadDownload
5.3.8DownloadDownloadDownloadDownloadDownloadDownload
5.3.7DownloadDownloadDownloadDownloadDownloadDownload
5.3.6DownloadDownloadDownloadDownloadDownloadDownload
5.3.5DownloadDownloadDownloadDownloadDownloadDownload
5.3.4DownloadDownloadDownloadDownloadDownloadDownload
5.3.3DownloadDownloadDownloadDownloadDownloadDownload
5.3.2DownloadDownloadDownloadDownloadDownloadDownload
5.3.1DownloadDownloadDownloadDownloadDownloadDownload
5.3.0DownloadDownloadDownloadDownloadDownloadDownload
5.2.17

DownloadDownloadDownloadDownload
5.2.16

DownloadDownloadDownloadDownload
5.2.15

DownloadDownloadDownloadDownload
5.2.14

DownloadDownloadDownloadDownload
5.2.13Download
DownloadDownloadDownloadDownload
5.2.12Download
DownloadDownloadDownloadDownload
5.2.11DownloadDownloadDownloadDownloadDownloadDownload
5.2.10Download
DownloadDownloadDownloadDownload
5.2.9Download
DownloadDownloadDownloadDownload
5.2.8Download
DownloadDownloadDownloadDownload
5.2.6Download
DownloadDownloadDownloadDownload
5.2.5Download
DownloadDownloadDownloadDownload
5.2.4Download
DownloadDownloadDownloadDownload
5.2.3Download
DownloadDownloadDownloadDownload
5.2.2Download
DownloadDownloadDownloadDownload
5.2.1Download
DownloadDownloadDownloadDownload
5.2.0Download
DownloadDownloadDownloadDownload
5.1.6Download
DownloadDownloadDownloadDownload
5.1.5Download
DownloadDownloadDownloadDownload
5.1.4Download
DownloadDownloadDownloadDownload
5.1.3Download
DownloadDownloadDownloadDownload
5.1.2Download
DownloadDownloadDownloadDownload
5.1.1Download
DownloadDownloadDownloadDownload

 

For more information on installing the PHP moduleDownload, see Getting Started with SQL Anywhere and PHP.

 

Building the Driver from Source


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

Download the source code

 

* Use dbeng10 -v to check your SQL Anywhere version number. If your version is less than 10.0.1.3767, apply the latest EBFs.

Comments

Delete Document

Are you sure you want to delete this document?

Actions