ionCube Loader
CloudPanel v1 is obsolete
CloudPanel v1 is obsolete; check out the CloudPanel v2 Docs.
Using ionCube encoded and secured PHP files requires a file called the ionCube Loader to be installed on the web server and made available to PHP.
Enable Loader
The ionCube Loader extension is being shipped by default for all PHP Versions but disabled for performance reasons.
To enable ionCube Loader for a specific PHP Version, you need to enable it for CLI and FPM:
- Open the php.ini for the CLI and FPM:
nano /etc/php/7.4/cli/php.ini
nano /etc/php/7.4/fpm/php.ini
- Go to the end of the file and remove the semicolon in the beginning.
;zend_extension=ioncube_loader_lin_7.4.so
- Restart the PHP-FPM service:
systemctl restart php7.4-fpm