PHP 4.0 Bug #8673: ora-01034 when accessing remote SID
| From: | christoph dot hofstetter at bit dot admin dot ch | Date: | Fri, 12 Jan 2001 12:28:00 +0000 |
| Subject: | PHP 4.0 Bug #8673: ora-01034 when accessing remote SID | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43856@lists.php.net to get a copy of this message | ||
From: christoph.hofstetter@bit.admin.ch
Operating system: aix433
PHP version: 4.0.4
PHP Bug Type: Oracle related
Bug description: ora-01034 when accessing remote SID
I get an ora-01034 trying to connect to a remote oracle 8.1.6.0.0 database. everything works fine
for local databases. I can access the remote database with sqlplus, but not with php.
configure line:
./configure --with-oracle=$ORACLE_HOME \
--with-oci8 \
--enable-discard-path \
--without-mysql \
--enable-track-vars
code from the script:
$ORACLE_HOME="/appl/ora/product/7.3.4.3.0";
$ORACLE_SID="X010";
PutEnv "ORACLE_HOME=$ORACLE_HOME");
PutEnv "ORACLE_SID=$ORACLE_SID");
$connection = OCILogon "scott","tiger");
if ($connection == false){
echo OCIError($connection; exit;
}
--
Edit Bug report at: http://bugs.php.net/?id=8673&edit=1