PHP 4.0 Bug #4608 Updated: Unable connect Oracle DB via ODBC

From: Date: Tue, 05 Sep 2000 02:26:34 +0000
Subject: PHP 4.0 Bug #4608 Updated: Unable connect Oracle DB via ODBC
Groups: php.dev 
Request: Send a blank email to php-dev+get-32055@lists.php.net to get a copy of this message
ID: 4608 Updated by: sniper Reported By: mcader@eragsm.com.pl Status: Feedback Bug Type: ODBC related Assigned To: Comments: Is this still happening with php4.0.2 ? --Jani Previous Comments: [2000-06-20 14:18:22] mcader@eragsm.com.pl The computer's configuration is ok. The same page works correctly with PHP3, doesn't work with PHP4. I have no idea why!!! This is test page - very simply, but doesn't work with Oracle and PHP4 - works with M$ Access <? $fcon = odbc_connect("dsnName","user","password",SQL_CUR_DEFAULT); ?> error Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state 08001 in SQLConnect in d:stronahtmlstronatest.php3 on line 10 --------------------------------------------------------------------------- [2000-06-20 11:53:12] kara@cvs.php.net This is an oracle issue, make shure your odbc drivers are correctly set up --------------------------------------------------------------------------- [2000-05-26 13:33:03] mcader@eragsm.com.pl Hi, I have a problem when i try to use odbc connection to Oracle. The problem is: Warning: SQL error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name, SQL state 08001 in SQLConnect in <file name> ODBC configuration is ok :-) odbc_connect works ok with M$ Access DB, doesn't work with Oracle --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=4608

« previous php.dev (#32055) next »