Skip to content

Instantly share code, notes, and snippets.

@tegansnyder
Last active October 26, 2016 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tegansnyder/b074b4df6942ec50f74d to your computer and use it in GitHub Desktop.
Save tegansnyder/b074b4df6942ec50f74d to your computer and use it in GitHub Desktop.
# install dev tools
yum groupinstall "Development tools"
# install zero mq
wget http://download.zeromq.org/zeromq-4.1.4.tar.gz
tar xvzf zeromq-4.1.4.tar.gz
cd zeromq-4.1.4
./configure --without-libsodium
make
sudo make install
git clone git://github.com/mkoppanen/php-zmq.git
cd php-zmq
phpize && ./configure
make && make install
# add to php.ini
extension=zmq.so
# php 7
# need webstatic repos the do:
sudo yum --nogp install -y --enablerepo=webtatic-testing php70w php70w-cli php70w-common php70w-devel php70w-gd php70w-intl php70w-mbstring php70w-mcrypt php70w-mysqlnd php70w-opcache php70w-pdo php70w-pdo_dblib php70w-pear php70w-pgsql php70w-soap php70w-xml php70w-xmlrpc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment