Re: Apache fails to start (oracle path problem?)

From: Date: Wed, 15 Jun 2005 21:56:48 +0000
Subject: Re: Apache fails to start (oracle path problem?)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-217035@lists.php.net to get a copy of this message
Thank you! That fixed it. I just had to define the Oracle env variables on the httpd startup script. So that was a huge help :) Shane On 6/15/05, Kristen G. Thorson <kthorson@allegroconsultants.com> wrote: > I ran into a similar problem trying to get ODBC working with a Progress > database. I managed to solve it by setting the environment variables in > the httpd startup script. > > Not much help, I know, but a suggestion. ;) > > good luck > kgt > > > > > Shane Presley wrote: > > >Hello, > > > >I'm having trouble compiling and running PHP with oracle support. > > > >I was able to compile with the appropriate configure script, but only > >after I set my Oracle environment variables in my shell. That was no > >problem. > > > >The problem is, when Apache goes to load the php module, it fails, > >because it can't find the oracle library. Interactively I had to do > >this... > > > >export LD_LIBRARY_PATH=$ORACLE_HOME/lib > > > >But Apache.. > >Starting httpd: Syntax error on line 207 of /etc/httpd/conf/httpd.conf: > >Cannot load /usr/lib/httpd/modules/libphp4.so into server: > >libclntsh.so.10.1: cannot open shared object file: No such file or > >directory > >[FAILED] > > > > > >Not sure how I could set that for Apache? > > > >Shane > > > > > > > > >

« previous php.general (#217035) next »