Skip to content

Instantly share code, notes, and snippets.

@icanhazstring
Created January 7, 2016 22:01
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save icanhazstring/71d974a58d2f35e8abc8 to your computer and use it in GitHub Desktop.
Install zmq centos
## install
yum install zeromq-devel
## install zmq.so
cd ~
git clone git://github.com/mkoppanen/php-zmq.git
cd php-zmq
phpize && ./configure
make && make install
## add extension to php
cd ~/php-zmq
mv modules/zmq.so /usr/lib64/php/modules
vim /etc/php.d/20-zmq.ini (extension=zmq.so)
## restart fpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment