Luis Castro wrote: > Dear php, > I am facing some problem while compiling PHP with ORACLE. I am using > unixware 7.0 I have > already installed Apache 1.3.14 and PHP 4.0.6. But after compile with > oracle option (no problem present) and when restarting web server i get > following message: > > Syntax error on line 238 of /usr/local/apache/conf/httpd.conf: > Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic > linker : / > usr/local/apache/bin/httpd : error opening libclntsh.so.1.0 > > I have checked that libphp4.so exists in > /usr/local/apache/libexec/libphp4.so and libclntsh.so.1.0 exists in > /home/oracle/app/oracle/product/8.0.4. > > please > help?? Please suggest, what should i do?????
Try the first, then the next one if it does not work... 1) Do ldconfig before restarting Apache. 2) Add the *full* path to libclntsh.so.1.0 (without its name :-) to /etc/ld.so.conf (ex: $ORACLE_HOME/lib). Do ldconfig again. 3) Modify /usr/local/apache/conf/httpd.conf and add SetEnv ORACLE_HOME /opt... and all the other "env | grep ORA" variables. Bye Rudy -- PHP Install 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]