Click to See Complete Forum and Search --> : PHP4 + Oracle


Anon
11-15-2000, 07:56 AM
Hello,

I've try to configure PHP4 on Apache Server for Windows NT.
Some of the extensions I want to include are not found by the php.ini file,
but I can see that this extensions exist in the correct path. Why is this
happening?
My big problem is that I can not connect to an Oracle database using PHP4.
The messege that a receive is that
Warning: _oci_open_server: ORA-12203: TNS:unable to connect to destination
in c:\....
With the same Apache Server , Oracle and WinNt but PHP3 a can do this.

If you have any experience with PHP (+Oracle) under Windows system,
please tell me about it. I would be very gratefull.


With best regards
Camelia

Anon
11-15-2000, 09:33 AM
have you correctly set ORACLE_HOME variable ?

I had the same pb last in the past, because this variable wasn't set correctly.

Good luck ...

Anon
11-15-2000, 09:58 AM
I have oracle client 8.0.5
I set ORACLE_HOME as C:\orant and TNS_ADMIN as C:\orant\net80\admin.



Damien wrote:
-------------------------------
have you correctly set ORACLE_HOME variable ?

I had the same pb last in the past, because this variable wasn't set correctly.

Good luck ...