CloudPanel ships with the ionCube Loader extension included but disabled by default for performance reasons. You can easily enable it for your specific PHP version by following these steps:
⚠️ Important Note: Currently, ionCube Loader is
not available for PHP 8.0. Check your PHP version compatibility before proceeding.
🔸 Enable ionCube Loader Extension:
Assuming you're using PHP 8.3 (replace with your actual PHP version if different):
- Open the PHP configuration files (php.ini) for CLI and FPM:
nano /etc/php/8.3/cli/php.ini
nano /etc/php/8.3/fpm/php.ini
- Locate the following line at the end of each file:
;zend_extension=ioncube_loader_lin_8.3.so
- Enable ionCube Loader by removing the semicolon (😉:
zend_extension=ioncube_loader_lin_8.3.so
- Restart PHP-FPM service to apply changes:
systemctl restart php8.3-fpm
After performing these steps, the ionCube Loader will be enabled, allowing your server to execute ionCube-encoded PHP files.
Additional Reminder:Ensure you're enabling the correct ionCube Loader version corresponding to your PHP version.