note 38816 modified in function.ocilogon by sixd

From: Date: Mon, 05 Oct 2009 01:37:24 +0000
Subject: note 38816 modified in function.ocilogon by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161295@lists.php.net to get a copy of this message
Using PHP 4.3.4, Apache/2.0.48, Oracle 9.2 the following line would generate the same ORA-12560 errors that lffranco reported, even with the "ORACLE_SID" environmental variable set. <?php $DBH = OCILogon( "user", "pass" ); ?> Once I set Oracle's hidden "LOCAL" environmental variable to the same value as "ORACLE_SID", all was well. --was-- Using PHP 4.3.4, Apache/2.0.48, Oracle 9.2 the following line would generate the same ORA-12560 errors that lffranco reported, even with the "ORACLE_SID" environmental variable set. <?php $DBH = OCILogon( "user", "pass" ); ?> Once I set Oracle's hidden "LOCAL" environmental variable to the same value as "ORACLE_SID", all was well. http://php.net/manual/en/function.ocilogon.php

« previous php.notes (#161295) next »