PHP ionCube Loader for Plugins

The Cachewall administrative and user plugins require the ionCube Loader to be enabled for cPanel PHP.

An error similar to this is shown if the loader is missing:

Site error: the file /usr/local/cachewall/ui/whm/docroot/dashboard.php requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

Enabling ionCube Loader

cPanel PHP is configured through the WebHost Manager Tweak Settings page.

  1. Sign into WebHost Manager as the system root user.

  2. Navigate to Server Configuration > Tweak Settings, then select the PHP tab.

  3. Option cPanel PHP loader should be present under this section. On the right, tick the ioncube checkbox.

  4. Save your change.

PHP scripts in the plugins use cPanel's internal PHP executable ("cPPHP") instead of the Apache PHP handler. Enabling ionCube via EasyApache configures the Apache PHP handler, not cPanel PHP.

Troubleshooting

There have been cases where the ionCube Loader error is reported by cPanel PHP even when the cPanel PHP loader option is correctly configured. If you're experiencing this, refresh the loader configuration by disabling (unticking) the ioncube checkbox, saving with it disabled, then re-enabling and saving again.

Still need help? Contact Us Contact Us