Contact Support : +64 220 256 070


How to enable ioncube-loader on the server?

Posted on: August 20, 2014

This lesson will teach you on how to enable Ioncube Loader module of PHP on a 64 bit centos server.

Ioncube Loader is an encryption/decryption utility for PHP applications which also assists in speeding up the pages that are served. IonCube Loaders   is one of the requirements for running WHMCS.

Lets begin.

1) login to the server , you should have a  root account or you  need root privilege for installation.

2) Go to the document root directory of your domain.

example :   cd  /var/www/html/sarath/public_html

3) using wget command download ioncube loader.

32 Bit systems:


64 Bit system:


You can use the command uname -a to determine the bit count of the operating system.

4) Extract the file using tar command.

tar xvfz ioncube_loaders_lin_x86.tar.gz   or

tar xvfz ioncube_loaders_lin_x86-64.tar.gz

5) Now we can access the ioncube loader wizard from a browser.

6) There will be detailed instructions given in the loader wizard.  At this point the ioncube loader installation is incomplete so you will be most probably getting the error “Please note that the following problem currently exists with the ionCube Loader installation”

Access the extracted ioncube directory and copy the .so files to the location php modules location.

For 32 bit system the php modules location will be /usr/lib/php/modules

and for 64 bit system it will be /usr/lib64/php/modules


cp /var/www/ /usr/lib64/php/modules

7) Go to the bottom part of the ioncube installation wizard, you can see the option to download the 20ioncube.ini file. Place that file in the location /etc/php.d directory.

8) Restart the webserver

Service httpd/nginx restart

9) Now you can test the installation at the ioncube installation wizard.

If you encounter any issues you can check each step once again and re-test the installation. If you need any further assistance please contact our support.

Search Blog