Download the current version of ioncube, check your system architecture, my system architecture is x86
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Now extract the tar file,
tar -zxvf ioncube_loaders_lin_x86.tar.gz
Now move to extract files to your specific location, here I put the folder to /user/local/lib/
sudo mv ioncube/ /usr/local/lib/
Now add referance to your php.ini file
zend_extension = /usr/local/lib/ioncube/ioncube_loader_lin_5.3.so
Restart apache
sudo /etc/init.d/apache2 restart
Done.
How to verify: Please print phpinfo() and notice the following red rectangular, its should say “”With the ionCube PHP Loader v4.0.1, Copyright(c) 2002-2010, by ionCube Ltd”
Its verified.