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:[EMAIL PROTECTED]]
> Sent: Friday, September 21, 2001 5:47 AM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to