php_oci8_12c.dll+Unable to load dynamic library
Posted by: pvidalis (---.208.tellas.gr)
Date: November 14, 2017 02:05PM

Hi to all,
I'm have installed Wampserver 3.1.0 64 bit x64 – Apache 2.4.27 – PHP 5.6.3 in Windows 10 64bit.
I'm trying to enable php_oci8 dll but everytime I'm receiving the followinng error:

[14-Nov-2017 12:57:50 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp64/bin/php/php5.6.31/ext/php_oci8_12c.dll' - ��� ���� ���� �� ���������� � ����������� ����. ������.

in Unknown on line 0

I have tried wiith instant clent 12.2.0.1 for 32 and 64 bit but I got no luck with that.

In php.ini I found this
Use with Oracle Database 12c Instant Client

Which instant client version I need to make it work or what else am I missing?

Thanks a lot

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: pvidalis (---.access.hol.gr)
Date: November 17, 2017 12:17PM

Anyone?

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: Otomatic (Moderator)
Date: November 17, 2017 05:29PM

Hi,


The PHP extension oci8 can not work on its own. On Windows, the php_oci8 DLL needs Oracle client libraries

See : [fr2.php.net] requirements and Installation.

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

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: pvidalis (---.access.hol.gr)
Date: November 18, 2017 09:15AM

Hi, thanks a lot for your answer but the question is

which instant client version I need to make it work?

Version 12.2.0.1.0
Version 12.1.0.2.0
Version 12.1.0.1.0

Kind Regards

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: Otomatic (Moderator)
Date: November 18, 2017 09:58AM

Hi,

I do not know. You have to look at Oracle and ask them the question.
Here at Wampserver we can not know how to install dozens of extensions, hundreds of CMS and thousands of web applications.

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

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: RiggsFolly (Moderator)
Date: November 18, 2017 09:59AM

If all else fails you could try reading the Oracle site help pages.

[www.oracle.com]

Just remember you have everything EXCEPT the instant client already loaded and you should be using the Thread Safe versions of anything and not the NTS (not thread safe) versions

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: php_oci8_12c.dll+Unable to load dynamic library
Posted by: pvidalis (---.access.hol.gr)
Date: November 18, 2017 10:10AM

I will give one more try

Thanks a lot.
Petros

Options: ReplyQuote


Sorry, only registered users may post in this forum.