php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3946 Cannot connect to Oracle 7.3 via ODBC
Submitted: 2000-03-28 11:27 UTC Modified: 2000-03-29 02:24 UTC
From: p dot g dot mckay at salford dot ac dot uk Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Windows 98
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: p dot g dot mckay at salford dot ac dot uk
New email:
PHP Version: OS:

 

 [2000-03-28 11:27 UTC] p dot g dot mckay at salford dot ac dot uk
I am running a Xitami Webserrver on my Windows 98 machine.
I connect via ODBC to an ORacle 7.3 server running on Windows NT.

After installing php 4 Release Candidate 1 (to  take advantage of sessions). And with no change to the php code,

the following error is produced on doing an odbc_connect:

Warning: SQL error: [Oracle][ODBC Oracle Driver][Oracle OCI]ORA-12154: TNS:could not resolve service name., SQL state S1000 in SQLConnect in C:/XITAMI/webpages/query.php on line 11

Warning: SQL error: , SQL state 00000 in SQLConnect in C:/XITAMI/webpages/query.php on line 11


I have reverted to using php3, and wait with eager anticipation for a final version of php 4.

Hope this helps out.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-29 02:24 UTC] kara at cvs dot php dot net
Please check that the "usual" Oracle environment 
(ORACLE_HOME, ORACLE_SID, ...) is available to PHP and that
you have set up your TNS file correctly. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 19:01:29 2024 UTC