• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Install php8-zqm on ubuntu

harpreetsb

Basic Pleskian
trying to install ZMQ module for PHP8 with following command
/opt/plesk/php/8.0/bin/pecl install zmq-beta
It failed with errors (including last 2 lines only)

Code:
checking libzmq installation... configure: error: Unable to find libzmq installation
ERROR: `/tmp/zmq/configure --with-php-config=/opt/plesk/php/8.0/bin/php-config --with-zmq' failed
 
UPDATE: after this I installed package libzmq
and then running
/opt/plesk/php/8.0/bin/pecl install zmq-beta

Selection_008.png
 
This instruction looks a bit outdated but can be used as an example.

 
This instruction looks a bit outdated but can be used as an example.

Stuck after
/opt/plesk/php/8.0/bin/pecl install zmq-beta
same error as previous screenshot.
 
I have compiled it for CentOS (Pease adapt it for Ubuntu):

# wget https://github.com/zeromq/php-zmq/archive/refs/heads/master.zip
# unzip master.zip
# cd php-zmq-master/
# /opt/plesk/php/8.0/bin/phpize
# ./configure --with-php-config=/opt/plesk/php/8.0/bin/php-config
# make
# make install
# echo "extension=zmq.so" > /opt/plesk/php/8.0/etc/php.d/zmq.ini
# cp /usr/lib/libzmq.so.5 /usr/lib64/
# plesk bin php_handler --reread
# /opt/plesk/php/8.0/bin/php -m | grep zmq
zmq
 
I have compiled it for CentOS (Pease adapt it for Ubuntu):

# wget https://github.com/zeromq/php-zmq/archive/refs/heads/master.zip
# unzip master.zip
# cd php-zmq-master/
# /opt/plesk/php/8.0/bin/phpize
# ./configure --with-php-config=/opt/plesk/php/8.0/bin/php-config
# make
# make install
# echo "extension=zmq.so" > /opt/plesk/php/8.0/etc/php.d/zmq.ini
# cp /usr/lib/libzmq.so.5 /usr/lib64/
# plesk bin php_handler --reread
# /opt/plesk/php/8.0/bin/php -m | grep zmq
zmq
Thank you so much. this worked
 
Back
Top