Oracle database connectivity correction
Posted: 27. June 2015 08:01
In xampp version 5.6.8 for Windows(latest) while connecting to oracle databsase 10g or 11g we need to uncomment
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
in the file php.ini
but in the extension directory extension_dir="C:\xampp\php\ext"
this dll is saved as php_oci8_12c.dll
so in order to connect to oracle database there is a conflict in name while connecting so this problem needs to be rectified make the name same in both the location.
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
in the file php.ini
but in the extension directory extension_dir="C:\xampp\php\ext"
this dll is saved as php_oci8_12c.dll
so in order to connect to oracle database there is a conflict in name while connecting so this problem needs to be rectified make the name same in both the location.