Using PHPkoru for PHP 7.2 with EasyApache 4 in cPanel

Installation of PHPkoru Loader for PHP version 7.2 with EasyApache 4 in cPanel

Download the PHPkoru Loader into the EasyApache 4 PHP 7.2 modules directory.

wget https://cdn.phpkoru.com/loaders/phpkoru_loader_v1.0.2_lin_7.2.so -O /opt/cpanel/ea-php72/root/usr/lib64/php/modules/phpkoru_loader.so

Enable PHPkoru Loader

echo -e "; Enable phpkoru_loader extension module\nextension=phpkoru_loader.so" > "/opt/cpanel/ea-php72/root/etc/php.d/00-phpkoru.ini"

Restart cPanel PHP FPMs

/scripts/restartsrv_apache_php_fpm

Removing PHPkoru Loader for PHP Version 7.2 from EasyApache 4 in cPanel

You can use the following code to uninstall PHPkoru Loader.

rm -f /opt/cpanel/ea-php72/root/etc/php.d/00-phpkoru.ini && rm -f /opt/cpanel/ea-php72/root/usr/lib64/php/modules/phpkoru_loader.so && /scripts/restartsrv_apache_php_fpm

Last updated