The error.log shows: [Wed Sep 21 12:49:13 2011] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function db2_connect() in K:\\Program Files\\BitNami WAMPStack\\apache2\\htdocs\\phpexp.php on line 7.
Configuring php to work with db2 on windows 7 professional
The last step at: Configuring PHP to work with DB2 | techs@work I think took care of that.
Now the last step, setting up the PHP extension to use the db2 drivers. Unzip the PECL file you downloaded. Copy the php_ibm_db2.dll and php_pdo_odbc file to K:\Bitnami\PHP\ext\ Now edit the K:\Bitnami\PHP\php.ini file and add the following entries:
extension_dir = K:/BitNami/php/ext
Once you have done all that, its time to recycle apache server and restart db2.
I recycle apache server and DB2. Still not connecting.
James R. Martin
J. Martin Associates
5185 Tara Ln., Bossier City, LA 71111 - 7810
Phone: (318) 752-4109 Cell Phone: ( 318) 773-9484
Personal e-mail: email@example.com