I have difficult question. On win.server i have PHP 5.2 version. I must connect on Oracle 12c db. Procedure that i do is:
also i tried to insert php_oci8_12c.dll extension and put oci8_12c.dll file in php/ext directory. When i true to run .bat file i see errors:
On my local pc i have php 5.6 and they work with 12c oracle. On internet see that 5.2 version can work with 12c.
What is the potencial problem? What I can try?
OCI 12c requires PHP 5.5 , see http://www.oracle.com/technetwork/articles/dsl/technote-php-instant-12c-2088811.html
You can try tho to install the Visual C++ Redistributable Package .
Because the MSVCR120.dll error can't be fixed by putting it in the ext folder.
When you use Apache and/or Console client, make sure you have enabled in both php.ini files, because they are different configurations.
You can also try the PECL OCI package from https://pecl.php.net/package/oci8
Make sure to pick the correct version, the most recent only works for PHP 7.
I finally managed to install it, with some miracle because i do like this much time...
Steps what i do is:
install visual c++ redistributable 2013
put instaclient_12_2 in C:\\Windows\\SysWOW64\\
On servers was Windows server 2008 R1 and PHP 5.6.2 TS
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.