httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Cat" <stry...@gmail.com>
Subject Re: [users@httpd] Set Environmental Variable for PHP
Date Wed, 29 Mar 2006 15:11:46 GMT
On 3/29/06, Joshua Slive <joshua@slive.ca> wrote:
> On 3/29/06, Tom Cat <strycat@gmail.com> wrote:
> > I'm trying to set ORACLE_HOME so that PHP will connect to Oracle.
> >
> > I first tried to stick the following into /etc/bashrc
> >
> > ORACLE_HOME=/home/oracle/oracle/product/10.2.0/client_1
> > export ORACLE_HOME
> >
> > That works fine for everyone on the box who has a shell, but the
> > apache user doesn't have a shell so this never gets run and apache
> > never figures out ORACLE_HOME.
>
> Put the same lines in apachectl (or whatever script your system uses
> to start apache at boot).
>

I thought about doing that, but decided not to.  I don't handle the
updates and patches for the box.  Other times when I have modified the
scripts in /etc/init.d, when a new patch comes out my changes get
overwritten and I have to figure out why something broke.  Is there
any other way?  If not I'll do this.

Thanks

> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message