PHP Options: PHP Loader: ionCube6


Last modified: July 8, 2022

Overview

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

Compatibility

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

Installation

In the interface

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

On the command line

To install ionCube 6, 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-ioncube6

To uninstall ionCube 6, 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-ioncube6

ionCube24®

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 have not 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