The ionCube Loader PHP extension is available on our servers. You can enable it for a specific domain/subdomain via the Control Panel -> PHP Settings section by following these steps:

  1. Click on the Manage button next to the domain/subdomain.
  2. Check the box next to the ionCube extension from the Extensions section.
  3. Click on the Save changes button.

You can also enable the ionCube Loader manually by adding the respective extension directive to a PHP configuration file (php.ini). Since there is a separate ionCube binary compiled for each PHP version, you should enable the PHP extension that matches the PHP version used by your script(s) from the following table:

PHP version php.ini directive
PHP 8.2 zend_extension=/usr/local/ioncube/
PHP 8.1 zend_extension=/usr/local/ioncube/
PHP 7.4 zend_extension=/usr/local/ioncube/
PHP 7.3 zend_extension=/usr/local/ioncube/
PHP 7.2 zend_extension=/usr/local/ioncube/
PHP 7.1 zend_extension=/usr/local/ioncube/
PHP 5.6 zend_extension=/usr/local/ioncube/
PHP 5.3 zend_extension=/usr/local/ioncube/

Note: ionCube Loader does not support PHP 8.0 and 8.3.

You can learn more about editing your PHP settings in our PHP Settings article.

ionCube "Failed loading" errors

If you encounter any ionCube loading errors similar to the one listed below:

Failed loading /usr/local/ioncube/ /usr/local/ioncube/ undefined symbol: zend_ce_countable

it is possible that there is a discrepancy between the PHP version used by your script and the PHP version used for compiling the ionCube extension. (Example: You are executing a script in a subdomain working with PHP version 7.4, but the ionCube module for PHP version 7.2 is loaded in the subdomain's php.ini file.)

To fix this error, make sure that you have enabled the ionCube Loader extension compiled for the PHP version that is used by your script.