Forked from icanhazstring/gist:71d974a58d2f35e8abc8
Last active
September 8, 2022 15:00
-
-
Save emresaracoglu/46271cfd25a64930db06ffb4aaa3526d to your computer and use it in GitHub Desktop.
Install zmq centos 7 and PHP Extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## install | |
yum install zeromq-devel | |
## install zmq.so | |
cd ~ | |
git clone https://github.com/zeromq/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