From: [EMAIL PROTECTED] Operating system: IIS 4.0, NT Server 4.0 SP6 PHP version: 4.0.4pl1 PHP Bug Type: OCI8 related Bug description: PHP in CGI mode fails to perform OCILogon 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: <?php $dbuser="scott"; $dbpass="tiger"; $dbhost="devnt01"; 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:\InetPub\wwwroot\test.php4 on line 5 -- Edit Bug report at: http://bugs.php.net/?id=10206&edit=1 -- PHP Development 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]