Re: [PHP] How to let PHP cgi find oracle TNS?

2001-05-15 Thread Brian S. Dunworth
At 10:09 AM 5/15/01 +0800, Jude Chen wrote: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in E:\website\yktest\web\includes\db\dbenv.php on line 4 But I have the correct TNS, through which I can connect to Oracle using SQL*PLUS, configured on the machine,

[PHP] How to let PHP cgi find oracle TNS?

2001-05-14 Thread Jude Chen
I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in

[PHP] How to let PHP cgi find oracle TNS?

2001-05-10 Thread Jude Chen
I use PHP (version 4.0.3pl1) as a cgi on my IIS web server with NT4.0. But I find when I try to connect a distant Oracle database, PHP can not find the correct TNS name, quoted as followings: Warning: Unable to connect to ORACLE (ORA-12154: TNS:could not resolve service name) in