RequirementsTo connect to IBM DB2 Universal Database for Linux, UNIX, and Windows, or IBM Cloudscape, or Apache Derby, you must install an IBM DB2 Universal Database client on the same computer on which you are running PHP. The extension has been developed and tested with DB2 Version 8.2. To connect to IBM DB2 Universal Database for z/OS or iSeries, you also require IBM DB2 Connect or the equivalent DRDA gateway software. Requirements on Linux or Unix
The user invoking the PHP executable or SAPI must specify the DB2 instance
before accessing these functions. You can set the name of the DB2 instance
in php.ini using the
If you created a DB2 instance named ibm_db2.instance_name=db2inst1 bash$ source /home/db2inst1/sqllib/db2profile ibm_db2.instance_name configuration
option in php.ini, or source the DB2 instance environment in your Web
server start script (typically /etc/init.d/httpd or
/etc/init.d/apache).
|