简体   繁体   中英

configure php to connect in oracle g11 OCI8

I am trying to configure php (7.0) to connect to Oracle 11g in a IIS7 server

I uncommented the extension and php_oci8.dll php_oci8_11g but i have this problem

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\v7.0\\ext\\php_oci8_11g.dll' - n'est pas une application Win32 valide. (is not a valid Win32 application.)

someone can help me. thanks.

check this answer. you need to install oci8 driver in extension as well as system32 in window server

https://stackoverflow.com/a/34494636/2125924

https://stackoverflow.com/a/24796250/2125924

check these both answers

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