Hi,
I can't connect from a win95/Apache setup to a Oracle database
- The PHP version is 4.04pl1 (Nusphere)
- The location for tnsnames.ora is c:\orawin95\network\admin\tnsnames.ora
- De Oracle version is 7.3.4.0.0
- De SQL*NET client version is 2.3.4.0.0
- Using the SQL PLUS 3.3 client on this machine works fine:
- The Oracle module is active in php.ini
The test program:
<?php
putenv('ORACLE_HOME=c:\orawin95');
putenv("ORACLE_SID=WKDS");
$conn = ora_plogon("hgj@wkds", "hgj");
?>
The result:
Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve
service name) in /www/data/ontwikkel/test/php/test3.php on line 5
Someone a idea whats wrong?
Greetings, Herbert
--
The Trans-Siberian Railroad Page: http://herbert.groot.jebbink.nl
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]