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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 18 05:01:28 2024 UTC