RE: [PHP] installing PHP with-apxs with-oci8 --with-oracle onLinux - remote oracle

From: Date: Fri, 21 Sep 2001 13:08:44 +0000
Subject: RE: [PHP] installing PHP with-apxs with-oci8 --with-oracle onLinux - remote oracle
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68143@lists.php.net to get a copy of this message
Jeffrey, Set your ORACLE_HOME environment variable. putenv("ORACLE_HOME=/path/to/oracle/home/dir"); etc. HTH Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access & Data Integration Technology Providers > -----Original Message----- > From: Jeffrey Iskandar Ahmad [mailto:jeffrey@time.net.my] > Sent: Friday, September 21, 2001 5:47 AM > To: php-general@lists.php.net > Subject: [PHP] installing PHP with-apxs with-oci8 --with-oracle onLinux > - remote oracle > > > I cannot connect to remote oracle database. I get the error below. > > OCISessionBegin: Error while trying to retrieve text for error ORA-03106 > (meening : fatal two-task communication protocol error) > > My env is all correct. > > My test.php: > $db = " (DESCRIPTION = > (ADDRESS_LIST = > (ADDRESS = (PROTOCOL = TCP)(HOST = patin)(PORT = > 1521)) > ) > (CONNECT_DATA = > (SID = I32) > ) > )"; > > $c1 = ocilogon("ims","ims",$db); > > if ($c1 == false){ > echo OCIError($c1).""; > exit; > } > else > { > echo "success"; > } > > > Jeffrey Iskandar Ahmad > System Engineer > Technology Division > TIME dotNet > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#68143) next »