How to install ionCube loader on Ubuntu

ionCube is a Zend-Engine extension to encode PHP files. To install it on Ubuntu first download the software from ionCube.com and extract it to /usr/local. For the 64 bit version:

cd /usr/local
sudo wget http://downloads2.ioncube.com/loader_downloads/ioncube_l
oaders_lin_x86-64.tar.gz
sudo tar xzf ioncube_loaders_lin_x86-64.tar.gz
 
Then make sure the extension is loaded by PHP: 

echo "zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so" 
| sudo tee /etc/php5/conf.d/ioncube.ini
 
 

zend ioncube





Restart Apache:

sudo /etc/init.d/apache2 restart