Re: [users@httpd] Set Environmental Variable for PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/29/06, Joshua Slive <joshua@xxxxxxxx> wrote:
> On 3/29/06, Tom Cat <strycat@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux