|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-14 17:27 UTC] sniper@php.net
[2001-01-30 04:49 UTC] sniper@php.net
[2001-02-18 06:34 UTC] thies@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 14:00:01 2025 UTC |
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; }