• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question 7.4 How to install "event" Module (Plugin) in PHP Version?

You can use this method for CentOS or adapt it for Ubuntu/Debian:

# yum install plesk-php74-devel gcc make libevent-devel
# /opt/plesk/php/7.4/bin/pecl install event
# echo "extension=event.so" > /opt/plesk/php/7.4/etc/php.d/event.ini
# plesk bin php_handler --reread

Then check that event module is loaded:

# /opt/plesk/php/7.4/bin/php -m | grep event
event
 
Back
Top