Page tree
Skip to end of metadata
Go to start of metadata

Overview

The ionCube® loader allows you to use encoded PHP files on your system. cPanel & WHM offers ionCube 4, ionCube 5, and ionCube 6. 

Compatibility

You can only use ionCube 6 with PHP version 7 or earlier. 

Important:

Use ionCube 6 at your own risk. Read the ionCube news page and report any unexpected behavior to ionCube.

Installation

To install or uninstall the ionCube 6 in EasyApache 4, use WHM's EasyApache 4 interface (WHM >> Home >> Software >> EasyApache 4). 

Alternately, you can run the following command on the command line:

 

yum install ea-php<version>-php-ioncube6

In the example above, <version> represents the version of PHP for which you wish to install ionCube. If you wish to use ionCube 6 with PHP version 5.5, your command may resemble the following example:  yum install ea-php55-php-ioncube6 

To uninstall ionCube 6 in EasyApache 4, run the following command on the command line:

 

yum remove ea-php<version>-php-ioncube6

In the example above, <version> represents the version of PHP for which you wish to uninstall ionCube 6. If you no longer wish to use ionCube 6 with PHP version 5.5, your command may resemble the following example: yum remove ea-php55-php-ioncube6 

Notes

ionCube 6 includes ionCube24®, which acts as a website monitoring and intrusion protection service for your website. If you enable ionCube24, the ionCube loader checks for changes to the files or file creation after a certain time (a Trustpoint). ionCube disables this feature by default. 

When you run the php -v command, you will see the following output:

ionCube24 disabled: with the ionCube PHP Loader (enabled) + Intrusion Protection from ionCube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd.

To enable this feature, add the following directive to your php.ini file: 

ic24.enable = 1

When you run the php -v command, you will see the following output if you do not have an access key installed:

PHP Fatal error:  IC24: ionCube24 is enabled but no access key is set. Please see the server setup instructions at ionCube24.com or set 'ic24.enable = 0' in the php.ini file to disable ionCube24 for now.

For more information, read ionCube24's documentation

Vendor documentation

For more information, read ionCube's documentation.

Additional documentation