Ticket Example : DTW-846-52249
IonCube is the tools use to compile the bytecode prior to encoding so that source code is eliminated, and runtime overheads are reduced. A PHP extension called the ionCube Loader handles the reading and execution of encoded files at run time.
To install or upgrade the Ioncube Loader version, firstly you can create one .php file under the domain. For example
vi /home/suezcap/bangsarhillpark.com/iix.php
iix.php –> just an example name of .php file
Add the following line into the iix.php
Then, you can browse to the .php file and you can see the current IonCube version used for the domain. Other options, you can also type the command below to see the current version.
php -v
You will see something like this
[root@sme07 bangsarhillpark.com]# php -v
ea-php-cli Copyright 2017 cPanel, Inc.
PHP 5.6.33 (cli) (built: Jan 20 2018 11:51:58)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd.
To upgrade or install, you can login to Web Host Manager and search for EasyApache 4 and for the PHP extension, click on the “Customize” button and choose the PHP version.
Click on the “Next” button and click “OK”
Also, check with the customer in order to reboot the server once the IonCube Loader has been updated.