469,647 Members | 1,800 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

Unable to configure PHP with DB2

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
0 1047

Post your reply

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

Similar topics

3 posts views Thread by hussein | last post: by
16 posts views Thread by Serdar Kalaycý | last post: by
1 post views Thread by Srinivasan Vasudevan via DotNetMonster.com | last post: by
2 posts views Thread by =?Utf-8?B?Sm9oYW4=?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.