For those of you who didn’t know, IonCube Loaders is basically an encryption/decryption utility for PHP applications which also assists in speeding up the pages that are served. It is often required for a lot of PHP-based applications.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation IonCube Loader in CentOS server.
Install IonCube Loader on CentOS
For CentOS 32-bit use:
#tar xvfz ioncube_loaders_lin_x86.tar.gz
For CentOS x86_64 (64-bit):
#tar xvfz ioncube_loaders_lin_x86-64.tar.gz
#cp ioncube_loader_lin_5.3.so /usr/local/ioncube
Now edit php.ini file. To find location of php.ini, run
#php -i| grep php.ini
Add following line to end on php.ini
Restart apache after IonCube Loaders installation
#service httpd restart
Install IonCube Loaders via atomic yum repository:
#wget -q -O - http://www.atomicorp.com/installers/atomic |sh
#yum install php-ioncube-loader -y
Congratulation’s! You have successfully installed IonCube Loader. Thanks for using this tutorial for installing IonCube Loader in CentOS system. For additional help or useful information, we recommend you to check the official IonCube Loader web site.