Hello everyone. I'm new here. I am having a problem when trying to compile PHP 4.3.1 with IBM DB2 8.1.
I read over the documentation for both PHP and IBM for compiling and installing. I have the database up and running correctly. I wanted to compile PHP so I could connect to the database through PHP.
Everything was going well. I downloaded the tarball, set my options and I was off. Here are the options I specified:
Did you ever find a fix? I think my problem was either caused by an upgrade from RH 8 - RH 9, or the fact that I had another installation of perl (built from binaries, rather than source). Apparently this can happen if php tries to load an old copy of php.ini at compile (it shouldn't load any copy of php.ini apparently).
Still if you ever found the problem I'd be very grateful, as short of a reinstall of RH without apache I can't see a resolution here :)
Regards,
James
I suspect you have already fixed your problem but i figured i would post in case someone else had the same problem. The solution turned out to be pretty simple. The file 'libdb2.so.1' is located in the '/opt/IBM/db2/V8.1/lib/' directory (it may be slightly different if you installed in a different location). All i did was copy the 'libdb2.so.1' file into the '/usr/lib/' directory and the 'make install' command worked fine...