PHP going to wrong Oracle SID
| From: | Paul Fernandez | Date: | Mon, 31 Jul 2000 18:15:58 +0000 |
| Subject: | PHP going to wrong Oracle SID | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1647@lists.php.net to get a copy of this message | ||
Hello again,
config: oracle 8.1.5, php4, apache -- all on the same box
My script is going to the wrong SID.
$connection = OCILogon($username,$password,"prod");
When I echo $ORACLE_SID, the value is correct. But in actual
performance, the script is running on the other SID.
Is this a quirk in the listener.ora file?
Thanks in advance,
--
Paul Fernandez
Webmaster
Structural GenomiX, Inc.