How to Install Ioncube Loader on Unbuntu 20.04, 18.04, 16.04 or 14

You must have ssh access with root permission. Download ioncube loader:

[email protected]:    wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

[email protected]:   tar -zxvf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local/src/

[email protected]:   /usr/local/src/ioncube# mkdir /usr/local/ioncube

[email protected]:   /usr/local/src/ioncube# cp ioncube_loader_lin_5.6.so ioncube_loader_lin_5.6_ts.so /usr/local/ioncube/

Edit php configuration files:

[email protected]:   apt-get install nano

[email protected]:   nano /etc/php5/cli/php.ini

/etc/php/5.6/cli/php.ini
/etc/php/5.6/fpm/php.ini

and enter the following at the end:

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.6.so

service php5.6-fpm restart
service apache2 restart

or simply
reboot

If you want to install it for multiple php versions then edit related php.ini for php 7.0, php 7.1, php 7.2, php 7.3, and php 7.4

Leave a Reply