H harpreetsb Basic Pleskian Jan 10, 2022 #21 I get permission denied with sudo echo "extension=zmq.so" > /opt/plesk/php/7.3/etc/php.d/zmq.ini
IgorG Plesk addicted! Plesk Certified Professional Jan 10, 2022 #22 root account is required for such serious compilation procedures.
H harpreetsb Basic Pleskian Jan 10, 2022 #23 Thank you so much for help. Got it working from root account.
H harpreetsb Basic Pleskian Jan 14, 2022 #24 hi @IgorG this has installed in php cli, how do i enable in apache. cannot see this module in plesk admin.
hi @IgorG this has installed in php cli, how do i enable in apache. cannot see this module in plesk admin.
IgorG Plesk addicted! Plesk Certified Professional Jan 14, 2022 #25 harpreetsb said: hi @IgorG this has installed in php cli, how do i enable in apache. cannot see this module in plesk admin. Click to expand... This is a PHP module, not nginx or Apache module.
harpreetsb said: hi @IgorG this has installed in php cli, how do i enable in apache. cannot see this module in plesk admin. Click to expand... This is a PHP module, not nginx or Apache module.
H harpreetsb Basic Pleskian Jan 14, 2022 #26 I understand that, even thought it has been installed accessing a script over browser gives Class 'ZMQContext' not found
I understand that, even thought it has been installed accessing a script over browser gives Class 'ZMQContext' not found
H harpreetsb Basic Pleskian Jun 30, 2022 #28 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
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
H harpreetsb Basic Pleskian Jun 30, 2022 #29 Looks like it worked with GitHub - zeromq/php-zmq: ZeroMQ for PHP ZeroMQ for PHP. Contribute to zeromq/php-zmq development by creating an account on GitHub. github.com
Looks like it worked with GitHub - zeromq/php-zmq: ZeroMQ for PHP ZeroMQ for PHP. Contribute to zeromq/php-zmq development by creating an account on GitHub. github.com
L LevelupMedia Basic Pleskian Jun 1, 2023 #30 IgorG said: 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 Click to expand... 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.
IgorG said: 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 Click to expand... 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.