简体   繁体   中英

php_oci8_12c.dll - The specified module could not be found

I am using Windows 7 and php5.6.

php_oci8_12c.dll exists but I could not find it. Other modules are normal.

errorlog:

PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Server/bin/ext\\php_oci8_12c.dll' - The specified module could not be found.\\r\\n in Unknown on line 0

A bit late, but I faced the issue and found a possible answer just now.

First, Oracle binaries ( from instant client 12 x86 ) must be in the system path.

Second (the most vicious), check which VC++ runtime is needed (on Oracle's download page) for this instant client and install it .

I spent 6 hours on it and finally got it. Even on a Windows 2016 server, VC++ runtimes are not installed by default. It's a real pain to realize that.

Hope this helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM