问题
I am using Zend server configured with IIS 7.5. I searched for edit: zeromq php extension, I found these http://valokuva.org/builds/ and http://snapshot.zero.mq/
I have tried to add extension in php.ini and when I enable it form zend admin it shows an error "The system could not load this extension" and in logs "PHP Startup: Unable to load dynamic library 'C:\Program Files\Zend\ZendServer\lib\phpext\php_zmq.dll' - The specified module could not be found. in Unknown on line 0".
I have tried to build extension (.dll) from source but it also didn't work. On http://www.zeromq.org/bindings:php its written
You will first need to install the ØMQ (2.1.x or higher recommended)
Do I have to install something first on my machine to use this extension as there is only source available or am I placing the file incorrectly?
Although I am running zeromq binding for python and is operating without problem.
Any help or guide is highly appreciated.
回答1:
For anyone else looking for this, I found it at:
https://github.com/mkoppanen/php-zmq
Specifically:
https://github.com/mkoppanen/php-zmq/issues/62
http://178.79.157.189/~mikko/win32/php-zmq-win32.zip
回答2:
Try this, it works, I just uploaded it: https://github.com/Polycademy/php_zmq_binaries
--EDIT--
All ZMQ extensions are now in: http://windows.php.net/downloads/pecl/releases/zmq/
回答3:
I don't use ZMQ on Windows, but on Linux, it also requires the uuid extension.
There's also a problem with also having the ImageMagick extension installed, because the uuid clashes between them. Ensuring that you load zmq before imagik is an effective workaround to that however.
回答4:
I had the same problem. Using dll from php-zmq_zeromq-{version}-zts
folder fixed the problem for me.
回答5:
I finaly found! Downloading from pear site [http://pecl.php.net/package/zmq/1.1.1/windows]
来源:https://stackoverflow.com/questions/6742773/zeromq-php-extension-for-windows