php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8309 Can't connect to remote database
Submitted: 2000-12-18 00:50 UTC Modified: 2000-12-18 06:04 UTC
From: biesas at prontomail dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.3pl1 OS: Win NT 4.0
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: biesas at prontomail dot com
New email:
PHP Version: OS:

 

 [2000-12-18 00:50 UTC] biesas at prontomail dot com
We have IIS 4.0, Win NT 4.0 SP6 and Oracle 8.0.5 client running on first server and Oracle 8.0.5 database on second.
We have no problems connecting from first server to Oracle using SvrMgr30 or SqlPlus, but from PHP when doing OCILogon() we always get "Warning: Oracle: Connection Failed: ORA-12203: TNS:unable to connect to destination". The same goes
and to ora_logon().
To check if Oracle configuration is OK we compiled example which comes with Oracle (cdemo81.c) and it connects without any problems.

Regards, Vytautas

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-18 06:04 UTC] sniper@php.net
You should set the required environment variables.
See: http://www.php.net/manual/ref.oci8.php

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 09:01:29 2024 UTC