How to update IonCube on CentOS with Plesk

label_outlinechat_bubble_outline Comment

You might have to update IonCube on Centos with Plesk in order to accommodate newer scripts developed with a newer version of IonCube. Here’s a quick example of how to achieve this the correct way so not to break anything with Plesk.

The Hard Way

First you need to download the latest version of IonCube by clicking here.

Once you receive the download unzip it and save it on your desktop. Now open up a ftp program and connect to your server. Upload the entire ioncube directory to the publicly accessible root directory. For Plesk this will normally be httpdocs and for CPanel this will normally be public_html.

Now type your domain name, the directory and the ioncube loader script as so:

http://domain.tld/ioncube/loader-wizard.php

The below screen should appear:
update iocube loaders with centos and plesk img 1

Pick local install and then click on next

If you see the below screen you’re already updated, this is also the screen that you should see when you refresh your browser after completing the upgrade.

update iocube loaders with centos and plesk img 2

If you don’t see the above image you should see an image like the below:

update iocube loaders with centos and plesk img 3

There are a couple other windows that you might see. One could be informing your that zend optimizer isn’t install and the other could inform you that your version of php is not supported by the current IonCube release. Either of these other windows will require additional steps not covered in this guide.

In the above screen shot you’ll notice that it tells you which version you need to install. Now open up your favorite SSH terminal and log into the server as root. We’re first going to locate the old version of the module. Normally it will be located in /usr/lib64/php/modules/ but just to be sure run the following command:

BE SURE TO CHANGE THE NAME BELOW (OF THE LOADER) TO THE ONE THAT APPEARED ON YOUR ABOVE SCREEN SHOT

find / -name ioncube_loader_lin_5.3.so

Now replace the file from the output of the above command with the new file which was downloaded in the original IonCube download. Refresh your browser and you should see that your server has now been upgraded to the new IonCube module.

The Easy Way

Use shell and run the following commands:

wget -q -O - http://www.atomicorp.com/installers/atomic | sh

and then:

yum update php-ioncube-loader

update iocube loaders with centos and plesk img 1
update iocube loaders with centos and plesk img 2
update iocube loaders with centos and plesk img 3

From all of us at WireFlare we ask that you help others find the answers they are looking for. Please leave a comment or share this post!

About

Blog Bio Picture For Todd

I'm the President of WireFlare. I have a passion for creativity, online business and internet security. I strive to create a community that empowers people to be themselves. I'm an adventurist, fun loving and caring. Find me hiking in places most people don't dare to go!

Get a free consultation today!