react/zmq v0.3.0 requires ext-zmq *

1,910 views
Skip to first unread message

rohitn...@gmail.com

unread,
Nov 3, 2014, 4:01:46 PM11/3/14
to ratch...@googlegroups.com
I have installed rachet using composer as instructed here http://socketo.me/docs/push. When i'm trying to install ZMQ i am getting following error:
react/zmq v0.3.0 requires ext-zmq * -> the requested PHP extension zmq is missing from your system..

I have installed ext-zmg manually following the tutorial on the website as well as this solution: http://stackoverflow.com/questions/24610499/your-requirements-could-not-be-resolved-to-an-installable-set-of-packages

I am using Ubuntu 14 with NGINX. Can the push functionality be done without ZMQ?

cboden

unread,
Dec 7, 2014, 10:13:04 AM12/7/14
to ratch...@googlegroups.com, rohitn...@gmail.com
sudo apt-get install libzmq-dev

You have to install the ZeroMQ library on your system and the PHP extension that uses it. 

code...@gmail.com

unread,
Jan 16, 2015, 5:49:17 PM1/16/15
to ratch...@googlegroups.com, rohitn...@gmail.com
Install zmq
-------------------------------------------
1. sudo apt-get install php-pear libzmq-dev re2c pkg-config
2. sudo pecl install channel://pecl.php.net/zmq-1.1.2

Waiting until process will complete...

3. sudo cat > /etc/php5/mods-available/zmq.ini << EOF
; configuration for php ZeroMQ module
; priority=20
extension=zmq.so
EOF

4. Enable module:
php5enmod zmq

5. Check:
php -m | grep zmq

понедельник, 3 ноября 2014 г., 23:01:46 UTC+2 пользователь rohitn...@gmail.com написал:
Reply all
Reply to author
Forward
0 new messages