note 27399 deleted from ref.oracle by didou
| From: | didou@php.net | Date: | Tue, 29 Jul 2003 12:03:18 +0000 |
| Subject: | note 27399 deleted from ref.oracle by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52918@lists.php.net to get a copy of this message | ||
Note Submitter:
----
A clean install of oracle and php works fine but an install on clients system that has multiple
instances of oracle, plenty of other software and PHP can not connect to the DB.
<b>Warning</b>: Oracle: Connection Failed: ORA-12203: TNS:unable to connect
to destination
in <b>c:\inetpubvirtual\wwwroot\test.php</b> on line <b>22</b><br>
Cannot connect to The database.
putenv("ORACLE_HOME=d:/oracle/ora81");
putenv("ORACLE_SID=TESTORA");
Line 22:
$conn = ora_logon("internal","oracle");
also tried $conn = ora_logon("internal@TESTORA","oracle");
This is on Windows NT 4.0 server with oracle 8.1.5 i
Comments on this issure are welcome