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

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

 



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).

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



[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