• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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