PHP

HCL Informix® supports database access for client applications that are written in the PHP programming language by using a PDO (PHP Data Object) extension that functions as a database extraction layer. Two open source PDO extensions are available for Informix®: the PDO for Informix® and the PDO for Data Server clients.

PDO for Informix®

The PDO extension for Informix® is called PDO_INFORMIX. It works only with connections to Informix®. You can download PDO_INFORMIX from the PHP Extension Community Library (PECL) website at http://pecl.php.net/package/PDO_INFORMIX.

To use PDO_INFORMIX, you must install the Informix® ODBC Driver, which is part of the Informix® Client Software Development Kit (Client SDK).

Documentation to build and use PDO_INFORMIX is available from the php.net website:http://us2.php.net/manual/en/ref.pdo-informix.php.

PDO for Data Servers

The PDO extension for Data Servers is called PDO_IBM and is supported on Informix® 11.10, or later. PDO_IBM can be used for connections to both Informix® and DB2® data servers.

You can download PDO_IBM from the PHP Extension Community Library (PECL) website at http://pecl.php.net/package/PDO_IBM.

To use PDO_IBM, you must install the common CLI driver. The CLI driver is a component in the following clients and drivers:
  • Informix® Client Software Development Kit (Client SDK)
  • Data Server Client
  • Data Server Runtime Client
  • Data Server Driver for ODBC, CLI, and .NET (Windows only)
  • Data Server Driver for ODBC and CLI

Documentation to build and use PDO_INFORMIX is available from php.net website: http://us2.php.net/manual/en/ref.pdo-ibm.php.