Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Problems running Apache and Oracle 8

Re: Problems running Apache and Oracle 8

From: Jeff Long <long_at_kestrel.cc.ukans.edu>
Date: Mon, 26 Apr 1999 10:16:11 -0500
Message-ID: <3724833B.D53D2E98@kestrel.cc.ukans.edu>


Paul Davies wrote:
>
> I'm trying to get Oracle 8 running with Apache so the database can be access
> via the web.
>
> The problem is that my CGI scripts don't connect to Oracle when executed
> from the web browser (though they do when run on their own).
>
> From the Apache logs, the error is:
>
> ORACLE_HOME environment variable not set!
>
> I have changed the Apache conf files so that Apache runs under the oracle
> user but it does not appear to be picking up the oracle environment
> variables.
>
> How can I solve this?

Set the ORACLE_HOME (and associated vars) in your script?

Use mod_env and the SetEnv/PassEnv directives to set ORACLE_HOME for the entire server?

Jeff Long Received on Mon Apr 26 1999 - 10:16:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US