Search code examples
phpxamppzeromqphp-extension

php zeromq extension: Unable to load dynamic library php_zmq.dll


I have XAMPP with PHP Version 5.6.8. I want to install zeromq extension. Tried the following dlls from http://pecl.php.net/package/zmq/1.1.2/windows. Of course I have extension=php_zmq.dll in \xampp\php\php.ini

php_zmq-1.1.2-5.6-nts-vc11-x64
php_zmq-1.1.2-5.6-ts-vc11-x64

php_zmq-1.1.2-5.6-nts-vc11-x86
php_zmq-1.1.2-5.6-ts-vc11-x86

Getting the error

PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:\xampp\php\ext\php_zmq.dll' - %1 is not a valid Win32 application.in 
Unknown on line 0

Solution

  • Here is the dll worked for php 5.6.3. Details are in readme file

    https://github.com/kirensiva/zmqPHPVersion5.6.3