• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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