PHP Options: PHP Loader: ionCube5


Last modified: July 8, 2022

Overview

The ionCube® loader allows you to use encoded PHP files on your system.

Compatibility

You cannot use multiple versions of ionCube simultaneously. ionCube 4 and 5 are not compatible with PHP 7 or 8.

Installation

In the interface

To install or uninstall the ionCube 5 in EasyApache 4, use WHM’s EasyApache 4 interface (WHM » Home » Software » EasyApache 4).

On the command line

To install ionCube 5, run the following command on the command line, where ea-php## represents the version of PHP for which you wish to install ionCube:

yum install ea-php##-php-ioncube5

To uninstall ionCube 5, run the following command on the command line where ea-php## represents the version of PHP for which you wish to uninstall ionCube:

yum remove ea-php##-php-ioncube5

ionCube 24®

ionCube 5 introduced 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 haven’t installed an access key:

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.

Additional Documentation