Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save emresaracoglu/46271cfd25a64930db06ffb4aaa3526d to your computer and use it in GitHub Desktop.
Save emresaracoglu/46271cfd25a64930db06ffb4aaa3526d to your computer and use it in GitHub Desktop.

Revisions

  1. emresaracoglu revised this gist Sep 15, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ yum install zeromq-devel

    ## install zmq.so
    cd ~
    git clone git://github.com/mkoppanen/php-zmq.git
    git clone https://github.com/zeromq/php-zmq.git
    cd php-zmq
    phpize && ./configure
    make && make install
  2. emresaracoglu revised this gist Apr 20, 2020. No changes.
  3. @icanhazstring icanhazstring created this gist Jan 7, 2016.
    17 changes: 17 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@

    ## 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