ID: 10206
Updated by: sniper
Old-Status: Open
Status: Feedback
Bug Type: OCI8 related
Assigned To: 

Just wondering if you have all the necessary environment
variables set? Check the manual page


Previous Comments:

[2001-04-06 08:47:51] [EMAIL PROTECTED]
When I use php in CGI mode any script can't connect to the Oracle DB throught the 
OCILogon call.
When I switch to the ISAPI mode these scripts work OK.
the sample script:
 if (! $dbconn=OCILogon($dbuser,$dbpass,$dbhost)) 
      print("Cannot connect to oracle db '$dbhost' as user '$dbuser'");
oracle reports:
ORA-12154: TNS:could not resolve service name in C:InetPubwwwroottest.php4 on line 5


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
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