You are here: Re: [PHP] Apache fails to start (oracle path problem?) « PHP « IT news, forums, messages
Re: [PHP] Apache fails to start (oracle path problem?)

Posted by Shane Presley on 06/16/05 00:56

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация