Re: Apache fails to start (oracle path problem?)
| From: | Kristen G. Thorson | Date: | Wed, 15 Jun 2005 17:25:18 +0000 |
| Subject: | Re: Apache fails to start (oracle path problem?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-217018@lists.php.net to get a copy of this message | ||
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