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 184.108.40.206.0
Oracle Instant Client Version 11.2
Temporary Lob support enabled
Collections support enabled
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.