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
 [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-2022 The PHP Group
All rights reserved.
Last updated: Sat Sep 24 23:05:52 2022 UTC