By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,271 Members | 1,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,271 IT Pros & Developers. It's quick & easy.

Unable to configure PHP with DB2

P: 3
Hi,

I am trying to set up PHP 5.1.6 to work with DB2 V8.1 FP5 and IBM HTTPServer webserver on AIX 5.3.0. DB2 is installed on the server, with the instances set up and everything working well. The webserver is installed as well. When I try to run configure for PHP with the following line:

configure --without-mysql --with-ibm-db2=/home/regrdb/sqllib --with-apxs=/usr/IBM/HTTPServer/bin/apxs

I get the error:

checking for IBM DB2 support... no
configure: error:
build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile

So I sourced db2profile and still no luck. The only advice I found online is to source db2profile and that this occurs when PHP is unable to see the DB2 libraries. I tried dropping and recreating the instance and that did not help as well. Does anyone have any ideas on what else might be wrong?

Any help would be greatly appreciated!!

Thank you,
Diana
Oct 9 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.