This content has been marked as final. Show 6 replies
I'm guessing you Oracle 11g Database on the machine where xampp is installed If so, then delete Instant Client. PHP can use the Oracle libraries from Oracle Database.
It sounds like you are using 10g Instant Client with php_oci8_11g.dll, or have some other clash due to multiple Oracle libraries.
what i need to do now is delete instance client . then how to connect php with oracle ..?
Is your database on the same machine you are running PHP from?
how to check?
i test connect to hr table but error.
Warning: oci_connect(): ORA-24315: illegal attribute type
$conn = oci_connect('hr', 'hr', 'localhost/XE');
info in xampp
OCI8 Support enabled
Revision $Id: bf2eaf558b050b6d2e6d098bed6345af7e842ea4 $
Active Persistent Connections 0
Active Connections 0
Oracle Run-time Client Library Version 22.214.171.124.0
Oracle Instant Client Version 11.2
Temporary Lob support enabled
Collections support enabled
Edited by: 977077 on Dec 16, 2012 3:57 PM
The ORA error still indicates some Oracle library version clash to me. Your installation is broken and this needs fixing. Since I don't I know what Oracle software is on your machine or what is in your php.ini, I can't offer particularly constructive help. Give some more details and we can try to get further.
oracle sql developer 126.96.36.19969
i think i need to get the latest version for oracle..
Edited by: 977077 on Dec 17, 2012 8:24 PM