> 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 or
> directory" when I try to load the php4 module. libdb2.so.1 exists in
> /home/db2inst1/sqllib/lib/ so I'm not sure why php can't find it. Can
> anyone help me with this?
>
Default installation of DB2 under redhat failed to properly setup
automatically the environment at reboot (at least for me), so that I
had to manually set it. There is a script file that does this under the
instance dir.
Try
"source /home/db2inst1/sqllib/db2profile"
If after that all works, you can put that in rc.local or wherever you
feel it could be its place :-)
HTH, bye
Fabrizio
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Fabrizio Ermini Alternate E-mail:
C.so Umberto, 7 [EMAIL PROTECTED]
loc. Meleto Valdarno Mail on GSM: (keep it short!)
52020 Cavriglia (AR) [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]