PHP 4.0 Bug #3448: odbc_connect problem with PHP4 and oracle
| From: | drax at usa dot net | Date: | Thu, 10 Feb 2000 11:29:43 +0000 |
| Subject: | PHP 4.0 Bug #3448: odbc_connect problem with PHP4 and oracle | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15350@lists.php.net to get a copy of this message | ||
From: drax@usa.net
Operating system: NT 4
PHP version: 4.0 Beta 3
PHP Bug Type: ODBC related
Bug description: odbc_connect problem with PHP4 and oracle
After migrating from PHP3 to PHP4 Beta3 I encounter a problem with odbc_connect.
The error result from the ODBC driver (oracle) reads:
"SQL error: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:Unable to resolve
Servicename., SQL state 08001 in SQLConnect in ... - Can't connect to database"
I started a trace and couldn't see any differences except that the connect failed.
The same script / DSN configuration works fine with PHP3 3.0.14