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.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

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.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

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 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

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.