> I've installed db2 and created the default instance at /home/db2inst1/.
> PHP is compiled with the --with-ibm-db2 option, however when I try to start
> apache I get the message: "Cannot load /etc/httpd/modules/libphp4.so into
> server: libdb2.so.1: cannot open shared object file: No such file o
Well, if it says that it's looking for it in /etc/httpd/modules then it's
obviously not looking in /home/db2inst1/sqllib/lib, eh?
Try a symlink...
"ln -s /home/db2inst1/sqllib/lib/libdb2.so.1
/etc/httpd/modules/libphp4.so/libdb2.so.1"
Or copy the library.
Or I think you can add a line into /et
Chris,
Looks like libphp4.so need sto know where libdb2.so.1 is. I would look at two
things: if db2 libraries are not in the standard location then you need to
specify the location in --with-ibm-db2=/home/ (this is a guess).
or
look at ldconfig - you will probably need to specify the db2
Hello,
I've installed db2 and created the default instance at /home/db2inst1/.
PHP is compiled with the --with-ibm-db2 option, however when I try to start
apache I get the message: "Cannot load /etc/httpd/modules/libphp4.so into
server: libdb2.so.1: cannot open shared object file: No such file o