Re: problems with oracle

From: Date: Fri, 02 Mar 2001 21:49:24 +0000
Subject: Re: problems with oracle
Groups: php.install 
Request: Send a blank email to php-install+get-2251@lists.php.net to get a copy of this message
thanks you I proved your solution, but I have the same problem. My server domain is on Windows 2000 server.... my machine is dbms oracle on windows 2000 professional. I will wait your answer....... ----- Original Message ----- From: "Michael Richardson" <richardsonm@ecfood.com> To: "Harold Arando" <arandor@estudiantes.ucbcba.edu.bo> Cc: "PHP-INST" <php-install@lists.php.net> Sent: Friday, March 02, 2001 5:20 PM Subject: RE: [PHP-INST] problems with oracle > 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. > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net > For additional commands, e-mail: php-install-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.install (#2251) next »