I have Windows 7 64bit, IIS 7, and installed PHP on IIS. I enabled php_oci8.dll for Oracle connection, but I'm getting the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.5\ext\php_oci8.dll' - The specified module could not be found. in Unknown on line 0 I have checked that the php_oci8.dll exist in: 'C:\Program Files (x86)\PHP\v5.5\ext\php_oci8.dll'
My php.ini below:
extension_dir="C:\Program Files (x86)\PHP\v5.5\ext\" [PHP_OCI8] extension=php_oci8.dll I downloaded Oracle Instant Client 32 bit at http://www.oracle.com/technetwork/topics/winsoft-085727.html. Then I extract the it and set the directory in Environment Variable "Path".
However I'm still getting the same error.
[PHP_OCI8]is not a valid .ini file section. There is a[OCI8]section, but you don't need to put the extension line there. What version of PHP are you using (5.3, 5.4, 5.5)? Is it 32- or 64-bit? what version of the IntantClient are you using?