Thanks Andrew for your answer. In the environment variables I have already:
DB2INSTANCE=db2inst1 LD_LIBRARY_PATH=:/home/db2inst1/sqllib/lib Is it correct ? Or does it need to point to the DB2 Client directory /usr/IBMdb2/V7.1/lib Thanks. Jerry "Andrew Hill" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Jerry, > Installing DB2 Client will allow you to use the ODBC functions in PHP, but > be aware that you are not actually using any ODBC Drivers in this instance. > PHP allows hiding of certain database specific functions under a "Unified > ODBC" that uses the ODBC functions without using true ODBC database communication. > That being said, you don't need to link --with-iODBC unless you are using > ODBC Drivers, so it's not an issue here. > If Apache doesn't start, I'd check it's logs, but you might be encountering > a situation where the DB2 libraries were in the path at compile time and are > not at Apache start time. Try setting LD_LIBRARY_PATH environment variable > to include the location of your DB2 Client. > Andrew Hill . -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php