Re: [PHP-DB] db2 with php

2001-02-05 Thread fabrizio . ermini
> 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

Re: [PHP-DB] db2 with php

2001-02-04 Thread szii
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

Re: [PHP-DB] db2 with php

2001-02-04 Thread Wayne Bastow
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

[PHP-DB] db2 with php

2001-02-04 Thread Chris Book
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