• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved How to install Zeromq

I understand that,
even thought it has been installed accessing a script over browser gives
Class 'ZMQContext' not found
 
So I was trying same on Ubuntu20.04 for PHP8.
This git://github.com/mkoppanen/php-zmq.git does not seem to exist any more.
Please suggest
 
I found a solution. You have to compile PHP module from the master branch:

# apt-get install --yes git libzmq3-dev
# git clone git://github.com/mkoppanen/php-zmq.git
# cd php-zmq/
# /opt/plesk/php/7.3/bin/phpize
# ./configure --with-php-config=/opt/plesk/php/7.3/bin/php-config
# make
# make install
# echo "extension=zmq.so" > /opt/plesk/php/7.3/etc/php.d/zmq.ini
# plesk bin php_handler --reread

As result:

# /opt/plesk/php/7.3/bin/php -m | grep zmq
zmq
This works for Debian 10.13, Plesk 18.0.52. You need to follow this tutorial if 4 line is giving you an a error: How to install the OAuth PHP extension for PHP versions provided by Plesk - Support Cases from Plesk Knowledge Base

Also you need to change from php 7.3 to 7.4 in lines above.
 
Back
Top