How to upgrade and update IonCube Loader

How to upgrade and update IonCube Loader. I want to upgrade IonCube Loader 5.6 into IonCube Loader 10.x. How can I do that in a simple manner ways? Will it create any issue to my existing users using IonCube Loader 5.6 ? MY wordPress themes and plugins sometimes require additional software called ionCube Loader.

Ioncube Loader, What is it and how it is useful ?
Ioncube, a PHP extension provides two tools – Encoder to compile PHP files and Loader, which handles execution of such encrypted files and speed up the web pages. Ioncube makes it easy to protect your PHP source code from easy observation, theft and change by compiling to bytecode. Encoding your application sources offers many benefits. Developers: Helps in protecting and licensing your application sources.


Install or update IonCube Loader

Take Note: PHP 7.1 and above does not support ionCube yet.

Under Plesk
1.) Connect to the server via SSH.

2.) Download the latest version of the loader:

$ wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Unpack it:

$ tar -xvf ioncube_loaders_lin_x86-64.tar.gz

Backup the old loader:

* For Debian and Ubuntu:

For PHP 5.6:

$ cp /opt/plesk/php/5.6/lib/php/modules/ioncube_loader_lin_5.6.so{,.old}

For PHP 7.0:

$ cp /opt/plesk/php/7.0/lib/php/modules/ioncube_loader_lin_7.0.so{,.old}

* For RHEL-based operating systems:

For PHP 5.6:

$ cp /opt/plesk/php/5.6/lib64/php/modules/ioncube_loader_lin_5.6.so{,.old}

For PHP 7.0:

$ cp /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so{,.old}

Install a new one:

* For Debian and Ubuntu:

For PHP 5.6:

$ cp ioncube/ioncube_loader_lin_5.6.so /opt/plesk/php/5.6/lib/php/modules/ioncube_loader_lin_5.6.so

For PHP 7.0:

$ cp ioncube/ioncube_loader_lin_7.0.so /opt/plesk/php/7.0/lib/php/modules/ioncube_loader_lin_7.0.so

* For RHEL-based operating systems:

For PHP 5.6:

$ cp ioncube/ioncube_loader_lin_5.6.so /opt/plesk/php/5.6/lib64/php/modules/ioncube_loader_lin_5.6.so

For PHP 7.0:

$ cp ioncube/ioncube_loader_lin_7.0.so /opt/plesk/php/7.0/lib64/php/modules/ioncube_loader_lin_7.0.so

Confirm the update using:

For PHP 5.6:

$ /opt/plesk/php/5.6/bin/php -v

For PHP 7.0:

$ /opt/plesk/php/7.0/bin/php -v

Under CPanel
Log in to your WHM.

In your WHM page, click the software > EasyApache 4, and then click customize next go to php extension.

Click search and then type in ioncube.

Scroll down to the php version, and click Select PHP Version you need.

In the list of PHP extensions, click the php’s ioncube_loader to turn on, and then click Save.

Leave a Reply

Your email address will not be published. Required fields are marked *