适用于 Windows 的 Zeromq PHP 扩展
我正在使用配置了 IIS 7.5 的 Zend 服务器。我搜索了 edit: Zeromq php 扩展,我发现了这些 http://valokuva.org/builds/ 和 < a href="http://snapshot.zero.mq/" rel="nofollow">http://snapshot.zero.mq/
我尝试在 php.ini 中添加扩展,当我启用它时它显示表单 zend admin一个错误 “系统无法加载此扩展”并在日志中显示“PHP 启动:无法加载动态库 'C:\Program Files\Zend\ZendServer\lib\phpext\php_zmq.dll' - 找不到指定的模块。”第 0 行未知”。
我尝试从源代码构建扩展(.dll),但它也不起作用。在 http://www.zeromq.org/bindings:php 上,
您首先需要安装 ØMQ(推荐 2.1.x 或更高版本)
我是否必须先在我的计算机上安装某些东西才能使用此扩展,因为只有可用的源,或者我是否错误地放置了文件?
尽管我正在为 python 运行 Zeromq 绑定并且运行没有问题。
非常感谢任何帮助或指导。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
对于其他正在寻找此内容的人,我在以下位置找到了它:
具体来说:
For anyone else looking for this, I found it at:
Specifically:
试试这个,它有效,我刚刚上传了它: https://github.com/Polycademy/php_zmq_binaries
- -编辑--
所有 ZMQ 扩展现在都位于:http://windows.php.net/downloads/pecl/releases/zmq/
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/
我不在 Windows 上使用 ZMQ,但在 Linux 上,它也需要 uuid 扩展。
安装 ImageMagick 扩展还有一个问题,因为它们之间的 uuid 冲突。然而,确保在 imagik 之前加载 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.
我也有同样的问题。使用 php-zmq_zeromq-{version}-zts 文件夹中的 dll 解决了我的问题。
I had the same problem. Using dll from
php-zmq_zeromq-{version}-zts
folder fixed the problem for me.我终于找到了!从梨网站下载
[http://pecl.php.net/package/zmq/1.1。 1/窗口]
I finaly found! Downloading from pear site
[http://pecl.php.net/package/zmq/1.1.1/windows]