开发者

zeromq php extension for windows

开发者 https://www.devze.com 2023-03-21 19:58 出处:网络
I am using Zend server configured with IIS 7.5. I searched for edit: zeromq php extension, I found these http://valokuva.org/builds/ andhttp://snapshot.zero.mq/

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 hel开发者_JS百科p or guide is highly appreciated.


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


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/


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.


I had the same problem. Using dll from php-zmq_zeromq-{version}-zts folder fixed the problem for me.


I finaly found! Downloading from pear site [http://pecl.php.net/package/zmq/1.1.1/windows]

0

精彩评论

暂无评论...
验证码 换一张
取 消