WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: liorilan (---.integralerp.com)
Date: December 10, 2015 09:49AM

Hello,
I can't connect from PHP 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"
Has anyone connected to oracle using php_oci8_12c.dll ? If yes then where did you get that file ?

Installation details:
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

WAMPSERVER (64 BITS & PHP 5.5) 2.5
Apache : 2.4.9 MySQL : 5.6.17 PHP : 5.5.12 PHPMyAdmin : 4.1.14 SqlBuddy : 1.3.3 XDebug : 2.2.5

WAMPSERVER (64 BITS & PHP 5.5) 2.5
Apache : 2.4.9
PHP : 5.5.12
Windows server 2012 R2
WampServer icon is yellow because I removed the MySql services

Options: ReplyQuote
Re: WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: Otomatic (Moderator)
Date: December 10, 2015 10:49AM

Hi,

> I can't connect from PHP to oracle using wampserver php if php.ini include extension=php_oci8_12c.dl
What file did you modify?

Don't modify directly php.ini file. Use Wampmanager menu's to do this.

Wampmanager icon->PHP->PHP Extensions->php_oci8_12c

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: liorilan (---.integralerp.com)
Date: December 14, 2015 12:10PM

Hi,
There was no php_oci8_12c.dll file included in the installation.
I took it from a xamp installation i had ona different cumputer and later tried dll's I found on the internet.
Mybe its a problem of using the right dll file ?

Options: ReplyQuote
Re: WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: Otomatic (Moderator)
Date: December 14, 2015 02:10PM

Hi,

There is no php_oci8_12c.dll with php 5.5.12. You need to upgrade PHP version.
Don't use other dll that one's in PHP version.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: liorilan (---.integralerp.com)
Date: December 15, 2015 11:29AM

Thank you for your answer.
Where can I find a newer 64 bit version ? Main download page declare Ver 2.5 with php 5.5.12.
Sourceforge at [sourceforge.net]
links to wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15.exe

Options: ReplyQuote
Re: WAMP PHP doesn't work with php_oci8_12c.dll
Posted by: Otomatic (Moderator)
Date: December 15, 2015 12:08PM

Hi,

> Where can I find a newer 64 bit version ?
Only PHP 7.0.0 has a "real" 64 bit support. See [forum.wampserver.com]

Warning : Install a new release of Wampserver

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.