Skip to content

Instantly share code, notes, and snippets.

@mathiasverraes
Last active September 23, 2021 13:29
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save mathiasverraes/b66f6117e5cfc92c3fbae37c1d0a3f26 to your computer and use it in GitHub Desktop.
Save mathiasverraes/b66f6117e5cfc92c3fbae37c1d0a3f26 to your computer and use it in GitHub Desktop.
zeromq php7
git clone git://github.com/mkoppanen/php-zmq.git
cd php-zmq
phpize && ./configure
make && make install

Finally add the following line to your php.ini:

extension=zmq.so
@mathiasverraes
Copy link
Author

Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

solution:

brew install autoconf

@mathiasverraes
Copy link
Author

pkg-config not found
configure: error: Please reinstall the pkg-config distribution

solution:

brew install pkg-config

@dibwas
Copy link

dibwas commented Oct 17, 2018

phpize do not work on linux. Any help?

@AdamSEY
Copy link

AdamSEY commented Jan 3, 2019

phpize do not work on linux. Any help?

Install php-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment