RE: [PHP-INST] problems with oracle
| From: | Michael Richardson | Date: | Fri, 02 Mar 2001 21:20:58 +0000 |
| Subject: | RE: [PHP-INST] problems with oracle | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2250@lists.php.net to get a copy of this message | ||
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:arandor@estudiantes.ucbcba.edu.bo]
Sent: Friday, March 02, 2001 1:07 PM
To: php-install@lists.php.net
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.