Hi everyone,

This is my first time posting on the forum so please let me know if the info. I provide is insufficient. 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 adding a symlink in /usr/lib to /usr/opt/db2_08_01/lib64 (as per a suggestion I found online), dropping and recreating the instance but that did not help as well. Does anyone have any ideas on what else might be wrong? I am ran out of ideas on what else to try

Any help would be greatly appreciated!!

Thank you,