php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9193 Oracle via ODBC don't work
Submitted: 2001-02-09 10:37 UTC Modified: 2001-05-07 10:50 UTC
From: guy dot louarn at laposte dot net Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0.4pl1 OS: Win NT
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: guy dot louarn at laposte dot net
New email:
PHP Version: OS:

 

 [2001-02-09 10:37 UTC] guy dot louarn at laposte dot net
Hello,

Like many of people, my scripts php4 ( all releases ) doesn't work with Oracle database via ODBC link.
All work nice with php3 .

I use Win nt 4, Apache 1.3.14, Oracle 7.3.4, php4.0.4 pl1
( idem with 4.0, 4.0.1, ... 4.0.5 dev).

Error message :
Warning: SQL error: [Oracle][ODBC Oracle Driver][Oracle OCI]ORA-12154: TNS:l'adresse symbolique n'a pas pu ?tre r?solue., SQL state S1000 in SQLConnect in test.php on line 7

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-07 10:50 UTC] kalowsky@php.net
my translation may be poor, but the error message I see below suggests that your Oracle TNS service is unable to resolve the alias you've given it for a SQLConnect.  that isn't a PHP bug, but rather an Oracle mis-configuration.


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