Re: Re: Extremely Urgent: Problem with PHP and Oracle

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

 




Justin Patrin wrote:


Charles Morris wrote:
    putenv("ORACLE_SID=PROJ");
    putenv("ORACLE_HOME=/home/oracle9");

I have tried putenv myself and it doesn't seem to work for Oracle connections. Putting those in your shell environment, then restarting apache. Check to see if the env vars are set from a PHP script (without using putenv to set them of course).

I agree. See http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html#envvars


Chris

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux