How to install IonCube loader in centos

How to install ionCube loader

ionCube produces leading tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. Featuring an advanced compiled-code encoding engine that translates source to highly efficient bytecodes, ionCube encoding tools deliver the ideal combination of maximum source code protection without sacrificing performance, reliability or language compatibility.

In order to view encoded ionCube files on your server you need the ionCube loader. This is a free plugin for Apache web server that only takes a few minutes to install and is well worth it.


– Root Shell access to your server
– phpinfo page: create a new document and call it phpinfo.php. Inside the phpinfo.php place:

<? phpinfo() ?>
Place this document in any of your domain/subdomain directory so you can view it and see all your PHP settings.

Installing ionCube Loader:

1. Download the program and store it on your server using wget or FTP. Check if you have 32 or 64 bit installation


Since we are using the Centos 6.5 64 Bit , we used :





2. Unpack the program

tar zxf ioncube_loaders_lin_x86-64.tar.gz


3. Move the folder to /usr/local

4) Check which version of Php you are using by command :

php -v

We are using php 5.5.7 , so will use the files 5.5 from ioncube folder we copied to /usr/local/ioncube , to check which are available:


nano /etc/php.d/ion.ini

our Php version is 5.5.7 so , we will add the following , if you have different one , find it from 4) and also the ioncube too from 4)

6) Restart apache:

service httpd restart

7) Open the phpinfo.php  we created in the start of the tutorial:

You will see something like:




Congratulations , ionCube Loader is installed on your system.

Leave a Reply

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