Re: compiling PHP with oracle
| From: | Paul Mindeman | Date: | Thu, 11 Jan 2001 21:37:44 +0000 |
| Subject: | Re: compiling PHP with oracle | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-43814@lists.php.net to get a copy of this message | ||
Paco Ortiz wrote:
Hi:No, when you build apache, $ORACLE_HOME doesn't need to be set. It does need to be set when you build PHP, and when you start Apache.PHP as a DSO with Oracle support does work.yes, that's how I believe it has to be...You need to make sure that $ORACLE_HOME is in Apache's pathdo you mean that when I compile and configure apache, $ORACLE_HOME is properly set?
For example, my /etc/ld.so.conf file looks something like this: /usr/X11R6/lib /usr/lib /usr/local/oracle/product/8.1.6/lib Apache should then start up fine. Pauland that the libctlnsh.so.8.0 file is in your library path (I believe its usually found in $ORACLE_HOME/lib).I think I met those conditions. That's why I got surprised when it didn't work. Apache died whenever I executed "apachectl start". I didn't want to find out at that moment what was happening. Only reconfigured and recompiled PHP as apache module and worked fine. Maybe I did something wrong on the way, who knows. Thanks for letting me know. Paco On Linux, you'd need to add $ORACLE_HOME/lib (the actual path) to your /etc/ld.so.conf file, and make sure $ORACLE_HOME is set before you start Apache..