• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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