
Object handling was
IBM provides two drivers, PDO_IBM and IBM_DB2, for you to access IBM DB2 databases.
4.4.1 PDO_IBM
PDO_IBM is an open source driver of PHP PDO specification implementation. This extension is supported on PHP release version 5.1 and greater. You can use PDO_IBM to connect to both cataloged and
Through PDO_IBM, you can use DB2 features, such as issue SQL queries, call stored procedures, work with large objects, persistent connections, and prepared connections. As PDO is not present in versions lower than PHP version 5, use of IBM_DB2 is recommended. You can get more information about PDO_IBM at:
4.4.2 IBM_DB2
IBM_DB2 provides an interface to connect to IBM DB2 databases. This extension is supported on PHP releases version 4 and greater. You can use IBM_DB2 to connect to both cataloged and
Note: There is also an extension named PDO_INFORMIX to access Informix® databases. Further information can be found in the following URL:
4.4.3 Installation of IBM PHP drivers
Installation procedure of both IBM_DB2 and PDO_IBM is similar. Hence, we discuss both simultaneously: first, the prerequisites to installing IBM PHP drivers, and then the installation process for Linux, UNIX, and Windows.