Skip to content

Instantly share code, notes, and snippets.

@faiyazalam
Last active March 25, 2023 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faiyazalam/42c9f5a34ca9e336e9a04b7c055b9795 to your computer and use it in GitHub Desktop.
Save faiyazalam/42c9f5a34ca9e336e9a04b7c055b9795 to your computer and use it in GitHub Desktop.
script to install zeromq php extension - Tested with Pimcore 10 and Official Docker Compose
apt-get update
apt-get install -y build-essential libtool autoconf uuid-dev pkg-config libsodium-dev libzmq3-dev
git clone https://github.com/zeromq/php-zmq.git
cd php-zmq
phpize && ./configure
make && make install
docker-php-ext-enable zmq
#now restart php-fpm container
#container info:
#No LSB modules are available.
#Distributor ID: Debian
#Description: Debian GNU/Linux 11 (bullseye)
#Release: 11
#Codename: bullseye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment