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 HCL Informix ODBC Driver, which is part of the HCL 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 IBM Data Servers

The PDO extension for IBM® 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 IBM 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 IBM common CLI driver. The CLI driver is a component in the following clients and drivers:
  • HCL Informix Client Software Development Kit (Client SDK)
  • HCL Data Server Client
  • HCL Data Server Runtime Client
  • HCL Data Server Driver for ODBC, CLI, and .NET (Windows only)
  • HCL 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.


Copyright© 2019 HCL Technologies Limited