PHP 4.0 Bug #7811: connection failure
| From: | ti dot gmastrantonio at nbn dot it | Date: | Tue, 14 Nov 2000 15:19:47 +0000 |
| Subject: | PHP 4.0 Bug #7811: connection failure | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38076@lists.php.net to get a copy of this message | ||
From: ti.gmastrantonio@nbn.it
Operating system: WIN NT 4.0
PHP version: 4.0.3pl1
PHP Bug Type: OCI8 related
Bug description: connection failure
Trying to connect to ORACLE 8 (oracle client 8.1.5.0.0) Data Base I always obtain
this error:
Warning: _oci_open_server: ORA-12154: TNS:could not resolve service name.
Using php3 no problem arise.
Here is the code:
$user = "user";
$password = "password";
$dbName = "oracle instance";
$conn = OCIPlogon ($user, $password, $dbName);
--
Edit Bug report at: http://bugs.php.net/?id=7811&edit=1