Mr. Arando:
We had a great deal getting PHP and Oracle to communicate on windows 2000.
There were two common problems that we found, hope they help you.
when running oci logon, we were unable to get oracle to recognize the
host/instance information. solution:
putenv( "ORACLE_SID=projekta");
OCILogon("myuser", "mypassword");
when trying to log in to the database, we were sent to the default instance
(even though we requested a specific instance). solution:
we created a new log in with the default instance of that which we were
trying to access.
Michael Richardson
-----Original Message-----
From: Harold Arando [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 02, 2001 1:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] problems with oracle
Thank you for your help
My next problem is :
I am working with oracle 8 on Windows2000 and I have the following error:
Warning: _oci_open_server: ORA-12638: Failure while recovering credentials
in c:\inetpub\wwwroot\php\oracleodbc\ingreso.php on line 2
my code is :
<?php
$cone=OCILogon("myuser", "mypassword", "projekta");
echo $cone;
odbc_close($coneccion);
?>
my oracle instance is projekta.
--
PHP Install 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]