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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxx> 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
> >
> >
> >
> 
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux