安装 ext-zmq 用于棘轮推送集成
install ext-zmq for ratchet push integration
我正在尝试安装 ZeroMQ for the push integration on Ratchet, I have successfully integrated Ratchet unto my Laravel 5 app. I downloaded and install the zeroMQ software and in the PHP binding instruction page,我按照 windows 部分的设置说明进行操作,因为我在 windows 10
Download the latest snapshot from http://snapshot.zero.mq/
Copy libzmq.dll into your php directory (e.g.
C:\wamp\bin\php\php5.3.8)
Copy the appropriate version of php_zmq.dll to your php extension
directory (e.g. C:\wamp\bin\php\php5.3.8\ext)
Add the following line to your php.ini:
extension=php_zmq.dll
自 http://snapshot.zero.mq/ is a broken link so I look around the internet for other source and I found this link 以来下载了 php_zmq-1.1.3-7.0-ts-vc14-x64.zip 一个。我按照指示将 libzmq.dll 复制到 C:\wamp\bin\php\php5.5.12 以及 php_zmq.dll 到C:\wamp\bin\php\php5.5.12\ext 然后我添加
extension=php_zmq.dll
到我的 php ini 并重新启动了我的 wamp 服务器,但它向我抛出了这个警告,
PHP Startup: Unable to load dynamic library
'c/wamp/bin/php/php5.5.12/ext/php_zmq.dll' - The specified module
could not be found
有什么想法,请帮忙?
我从这里 https://pecl.php.net/package/zmq 下载了与我的 php 版本匹配的正确文件,然后重新启动我的计算机,现在它可以正常工作了。
从这里获取版本:
https://pecl.php.net/package/zmq/1.1.2/windows
就我而言,正确的版本是 1.1.2
我正在尝试安装 ZeroMQ for the push integration on Ratchet, I have successfully integrated Ratchet unto my Laravel 5 app. I downloaded and install the zeroMQ software and in the PHP binding instruction page,我按照 windows 部分的设置说明进行操作,因为我在 windows 10
Download the latest snapshot from http://snapshot.zero.mq/
Copy libzmq.dll into your php directory (e.g. C:\wamp\bin\php\php5.3.8)
Copy the appropriate version of php_zmq.dll to your php extension directory (e.g. C:\wamp\bin\php\php5.3.8\ext)
Add the following line to your php.ini:
extension=php_zmq.dll
自 http://snapshot.zero.mq/ is a broken link so I look around the internet for other source and I found this link 以来下载了 php_zmq-1.1.3-7.0-ts-vc14-x64.zip 一个。我按照指示将 libzmq.dll 复制到 C:\wamp\bin\php\php5.5.12 以及 php_zmq.dll 到C:\wamp\bin\php\php5.5.12\ext 然后我添加
extension=php_zmq.dll
到我的 php ini 并重新启动了我的 wamp 服务器,但它向我抛出了这个警告,
PHP Startup: Unable to load dynamic library 'c/wamp/bin/php/php5.5.12/ext/php_zmq.dll' - The specified module could not be found
有什么想法,请帮忙?
我从这里 https://pecl.php.net/package/zmq 下载了与我的 php 版本匹配的正确文件,然后重新启动我的计算机,现在它可以正常工作了。
从这里获取版本: https://pecl.php.net/package/zmq/1.1.2/windows
就我而言,正确的版本是 1.1.2