Skip to content

Using PHPkoru for PHP 8.0 with CloudLinux PHP Selector in cPanel

Installation of PHPkoru Loader for PHP version 8.0 with CloudLinux PHP Selector in cPanel

Section titled “Installation of PHPkoru Loader for PHP version 8.0 with CloudLinux PHP Selector in cPanel”

Download the PHPkoru Loader into the CloudLinux PHP Selector PHP 8.0 modules directory.

Terminal window
wget https://cdn.phpkoru.com/loaders/phpkoru_loader_v1.0.2_lin_8.0.so -O /opt/alt/php80/usr/lib64/php/modules/phpkoru_loader.so

Enable PHPkoru Loader

Terminal window
echo -e "; Enable phpkoru_loader extension module\nextension=phpkoru_loader.so" > "/opt/alt/php80/etc/php.d.all/phpkoru.ini"

Restart cPanel PHP FPMs

Terminal window
/scripts/restartsrv_apache_php_fpm

Removing PHPkoru Loader for PHP Version 8.0 from CloudLinux PHP Selector in cPanel

Section titled “Removing PHPkoru Loader for PHP Version 8.0 from CloudLinux PHP Selector in cPanel”

You can use the following code to uninstall PHPkoru Loader.

Terminal window
rm -f /opt/alt/php80/etc/php.d.all/phpkoru.ini && rm -f /opt/alt/php80/usr/lib64/php/modules/phpkoru_loader.so && /scripts/restartsrv_apache_php_fpm