Re: [EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Nick Kew
On Wednesday 29 March 2006 15:47, Tom Cat 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 Wrong place. Apache cleans up system environment for security reasons. Put it into Apache's envvars (which apachectl read

Re: [EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Tom Cat
On 3/29/06, Joshua Slive <[EMAIL PROTECTED]> wrote: > On 3/29/06, Tom Cat <[EMAIL PROTECTED]> 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 >

Re: [EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Joshua Slive
On 3/29/06, Tom Cat <[EMAIL PROTECTED]> 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 w

[EMAIL PROTECTED] Set Environmental Variable for PHP

2006-03-29 Thread Tom Cat
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