Re: Oracle and PHP
| From: | Richard Lynch | Date: | Wed, 27 Jun 2001 06:33:24 +0000 |
| Subject: | Re: Oracle and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55329@lists.php.net to get a copy of this message | ||
> // Define Oracle_Home and Oracle_Sid
> putenv("ORACLE_HOME=/opt/ORACLE/product");
> putenv("ORACLE_SID=MYDATA");
IIRC, Thies posted once that the Environment variables *must* be defined in
the environment, before PHP starts, for things to really work properly.
That's all he said (IIRC), so I don't know why it would matter, but if Thies
*did* say that, you can bet that it's right :-)
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm