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:
root@ubuntu-15: wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
root@ubuntu-15: tar -zxvf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local/src/
root@ubuntu-15: /usr/local/src/ioncube# mkdir /usr/local/ioncube
root@ubuntu-15: /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:
root@ubuntu-15: apt-get install nano
root@ubuntu-15: 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