Click to See Complete Forum and Search --> : Oracle connection with Php on WINNT


Anon
10-30-2000, 11:16 AM
Dear Group Members

I am trying to reach OCI8 with php. I installed oracle client and sqlworksheet , BDE and similiar programs to reach Oracle 8 Server, works. But while I am trying to reach Database it gives ORA-12203 error

What I must do to solve this program.

putenv("ORACLE_HOME=D:/ORANT/NET80/ADMIN/TNSNAMES.ORA");
putenv("ORACLE_SID=ORCL");
putenv("ORACLE_BASE=D:/orant");

$c1 = ocilogon("myusername","mypasswd","");

I use:
OS: WinNT
PHP Version 4.0.3
Apache/1.3.14 (Win32)
Oracle 8
and phpinfo() say that

OCI8 Support enabled
Revision $Revision: 1.97 $

If you help me about solving problem, I will be very so thankfull to you.

Anon
10-31-2000, 06:31 AM
ORACLE_HOME should be D:/ORANT/, I think