zeromq / zmq install php biding

use ubuntu server 14

# use ubuntu 14 server

# get folder to work
mkdir /media/sf_websocket/push -p
cd /media/sf_websocket/push

# install php-dev to run phpize
sudo apt-get install php5-dev pkg-config libzmq-dev

# clone php-zmq from github
git clone git://

cd php-zmq

# run phpize to generate and configure script and run
sudo phpize && ./configure

# install
sudo make
sudo make install

# add extension to /etc/php5/(apache2|cli)/php.ini

# download script with composer
# download composer.phar

curl -sS | php

# create file composer.json

nano composer.json

# input script
  "autoload": {
     "psr-0": {
       "MyApp": "src"
  "require": {
    "cboden/ratchet": "0.3.*",
     "react/zmq": "0.2.*|0.3.*"

# download script
php composer.phar install

Published by


just to remember what i had known :)

One thought on “zeromq / zmq install php biding”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s