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



Reply via email to