My requirement is connect to Oracle database from PHP. XAMPP is already installed in my pc. PHP Version 5.5.11

My system configuration is Windows 7, 64-bit operating system.

I downloaded 32-bit file and then extracted and copied folder into C drive. I gave this folder path in Environment Variables. Now I downloaded 32-bit ODAC101040.exe. I had run this exe file and installed Oracle Universal Installer into E drive.

Now Environment Variables path is like below


I removed semicolon in php.ini file as below

extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client

After restarting apache from XAMPP Control Panel, I am getting following two pop up errors:

  1. The procedure entry point OCIPing could not be located in the dynamic link library OCI.dll
  2. PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8.dll' - The specified procedure could not be found.

php_oci8.dll is also available in C:\xampp\php\ext\

OCI8 section is not showing in http://localhost/xampp/phpinfo.php page.

How can I resolve above two errors?