PHP 4.0 Bug #4608 Updated: Unable connect Oracle DB via ODBC
| From: | Bug Database | Date: | Tue, 20 Jun 2000 12:18:22 +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-21830@lists.php.net to get a copy of this message | ||
ID: 4608
User Update by: mcader@eragsm.com.pl
Old-Status: Closed
Status: Open
Bug Type: ODBC related
Description: Unable connect Oracle DB via ODBC
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:\stronahtml\strona\test.php3 on line 10
Full Bug description available at: http://bugs.php.net/version4/?id=4608