Re: Trying to Install PHP with DSO Apache
| From: | scrub | Date: | Wed, 24 Oct 2001 02:23:51 +0000 |
| Subject: | Re: Trying to Install PHP with DSO Apache | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4726@lists.php.net to get a copy of this message | ||
Scrub wrote:
> Hi,
> I currently have apache installed as DSO and oracle 815 on /opt/oracle/815
> and OAS on /opt/oas/4.0. I've compiled PHP with
> "--with-oracle=/opt/oas/4.0" but when I tried starting up httpd it pukes
> because it's loolkng in the wrong place for the library. It is checking
> "/opt/oas/4.0/lib" instead of /opt/oracle/815/lib, the lib name is the
> same so I can't link it or copy it to "/opt/oas/4.0/lib". Is there a way
> to tell PHP to use "/opt/oracle/815/lib"? I need this, because I want to
> run OAS with external httpd as the listerner and be able to use php as
> well. Thanks.
>
Hi, I just want to clarify that I've configured PHP with these options:
"./configure --with-apxs=/opt/oas/app/apache1320/bin/apxs --with-oci8
--with-oracle=/opt/oas/4.0 --enable-versioning --enable-track-vars". I've
gotten away with the oci stuff by punt a link in /opt/oas/4.0/rdbms/demo to
/opt/oracle/815/rdmbs/demo. Everything compiles ok, but when I start up
httpd, it checks the library for oracle in /opt/oas/4.0/lib and failed to
reference a symbol. I can't fake it out by lynking the necessary library
in /opt/oas/4.0/lib/ to /opt/oracle/816/lib because the library have the
same name. So how do I get it to look in /opt/oracle/816/lib? if I
compiled it --with-oracle=/opt/oracle/815, it works ok. Everything is cool.
But I need to load the OAS module into apache as well, the only way I can
do this is to have the same value for ORACLE_HOME. I found out, one or
the other pukes if I set ORACLE_HOME to a different value(The oracle client
is ORACLE_HOME=/opt/oracle/815 where as OAS is ORACLE_HOME=/opt/oas/4.0)
I figured I could get it to work if I compiled as OAS user with the
ORACLE_HOME=/opt/oas/4.0, But it keeps point to /opt/oas/4.0/lib for the
library. This is killing me, is there a way to tell PHP explicitly to
check /opt/oracle/815/lib for the oracle lib stuff. Thanks.