From YiPs Wiki (i powered)

PHP: DB 2 Installation

(click to open)

Quick Page Table of Contents


PHP DB2 Installation

[goto main page]

[goto document links]


Installation of Zend Server on your laptop running to Db2 IBM i is not affected by installation of Zend Server on IBM i, these are independent PHP DB2 drivers although you may choose to use the same user profiles, files, etc. for both tests.

1) Zend Server running on Linux/Windows/Mac (not all free) …

When running PHP from Linux/Windows/Mac (2-tier) a DB2 driver must be used to connect to the IBM i machine. Commonly used IBM i supported drivers:

You may use your own copy of PHP pre-loaded on your laptop, but these instructions assume using Zend Server Community Edition. Installation documentation is available at the Zend site (summary below).

2) Zend Server running on IBM i (all free) …

When running PHP on IBM i (1-tier), PHP odbc, PHP ibm_db2, and PHP pdo_ibm run over a common PASE CLI driver (libdb400.a). The PASE CLI driver is shipped free with all IBM i releases, therefore no driver installation required (and no additional money required). PHP extension capability/differences between odbc, ibm_db2, and pdo_ibm are solely a function of PHP syntax implemented within each PHP specific extension not the responsibility of PASE CLI driver.

All needed parts are installed with Zend Server Community Edition for IBM i. Installation documentation is available at the Zend site (summary below).


Tony “Ranger” Cairns - IBM i PHP / PASE

Retrieved from
Page last modified on February 22, 2013, at 02:08 PM EST