Re: PHP with ORACLE

From: Date: Tue, 09 Oct 2001 15:27:55 +0000
Subject: Re: PHP with ORACLE
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4568@lists.php.net to get a copy of this message
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

« previous php.install (#4568) next »