|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7811 connection failure
Submitted: 2000-11-14 10:19 UTC Modified: 2001-02-18 06:19 UTC
From: ti dot gmastrantonio at nbn dot it Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.3pl1 OS: WIN NT 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ti dot gmastrantonio at nbn dot it
New email:
PHP Version: OS:


 [2000-11-14 10:19 UTC] ti dot gmastrantonio at nbn dot it
Trying to connect to ORACLE 8 (oracle client 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);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-18 06:19 UTC]
setup problem: once you get sqlplus user/password@instance 
working as the user that runs apache - php will work as 

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 23:01:31 2024 UTC