Re: Re: Extremely Urgent: Problem with PHP and Oracle
| From: | Christopher Jones | Date: | Thu, 10 Jun 2004 06:30:32 +0000 |
| Subject: | Re: Re: Extremely Urgent: Problem with PHP and Oracle | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34694@lists.php.net to get a copy of this message | ||
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