Edit report at https://bugs.php.net/bug.php?id=73674&edit=1

 ID:                 73674
 Updated by:         ka...@php.net
 Reported by:        benoit dot rousselle at gmail dot com
 Summary:            Unable to load dynamic library
                     'c:/wamp/bin/php/php7.0.10/ext/php_zmq.dll'
 Status:             Not a bug
 Type:               Bug
 Package:            PECL
 Operating System:   win 32 / win 64
 PHP Version:        7.1.0
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Minor note here cmb, you should rather put the libsodium.dll in the root of php 
directory instead of polluting the ext/ directory, though it works.

The Windows error for being unable to load a dynamic link library is usually 
vague when a dependency is missing (like noted). Despite it saying the module 
is not found, it is not always clear which module is not found, but in cases 
like these it means that a dependency that is linked to an extension was not 
found in a path within the PATH env variable.


Previous Comments:
------------------------------------------------------------------------
[2016-12-07 14:09:56] c...@php.net

Now I have downloaded and installed 
wampserver3.0.6_x86_apache2.4.23_mysql5.7.14_php5.6.25-7.0.10.exe, started 
Wampserver, switched to PHP 7.0.10, put php_zmq.dll into the ext/ folder, put 
libsodium.dll and libzmq.dll into C:\Windows, added extension=php_zmq.dll to 
php.ini, restarted Wampserver, and everything is okay.

There may be issues for you (and others) due to wrong dependencies being picked 
up, but there doesn't seem to be a bug, so I'm closing this ticket. See 
<http://php.net/support.php> for some appropriate support channels.

------------------------------------------------------------------------
[2016-12-07 13:04:43] benoit dot rousselle at gmail dot com

The problem occurs on wamp for php 7. Some people on the forum has got the same 
problem : http://forum.wampserver.com/read.php?1,144324


For php 7.1.0 / VC14 / X64 => KO
Pour php 7.0.13 / VC14 X64 => KO
Pour php 5.6.28 / VC11 / X86 => OK, it works

I try to do this on wamp (php7) :

put php_zmq.dll into the extension directory, and libzmq.dll and libsodium.dll 
somewhere in the PATH.
=> KO on my wamp php7

------------------------------------------------------------------------
[2016-12-07 12:03:27] c...@php.net

The following works for me: put php_zmq.dll into the extension directory, and 
libzmq.dll and libsodium.dll somewhere in the PATH. I haven't tested this with 
WAMP, though.

------------------------------------------------------------------------
[2016-12-07 09:38:41] benoit dot rousselle at gmail dot com

Description:
------------
I'm not sure if the problem come from WAMP or php_zmq.dll

PHP 7.0.10 can not load php_zmq.dll in the extension dir 
Unable to load dynamic library 'c:/wamp/bin/php/php7.0.10/ext/php_zmq.dll' 
whereas the dll exist

I've opened a post (sorry, it's in French) on forum :
http://forum.wampserver.com/read.php?1,144324

Test script:
---------------
php log :
07-Dec-2016 08:47:23 UTC] PHP Warning:  PHP Startup: Unable to load dynamic 
library 'c:/wamp/bin/php/php7.0.10/ext/php_zmq.dll' - Le module sp�cifi� 
est introuvable.

 in Unknown on line 0

module specified is not found



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=73674&edit=1

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to