Wampserver doesn't recognize php_oci8_12c.dll
Posted by: amelina (103.198.52.---)
Date: April 24, 2016 07:57AM

I can't connect to oracle using wampserver php if php.ini include extension=php_oci8_12c.dll instead of extension=php_oci8_11g.dll.
When I run a PHP scripts I get This connection error:


"Fatal error: Call to undefined function oci_pconnect() in c:\wamp\www\PHPScript1.php"

Since the installation did not include php_oci8_12c.dll file I tried several files I found, versions 5.5.4.0 , 5.6.2, 5.6.11, 5.6.14. None worked. The file that worked was php_oci8_11g.dll version 5.5.12.
Oracle Server, Client, Apache and PHP are on the same windoes server.
Installation file: wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b.exe.

Options: ReplyQuote


Sorry, only registered users may post in this forum.