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

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 /usr/local/ioncube/

Edit php configuration files:

root@ubuntu-15:   apt-get install nano

root@ubuntu-15:   nano /etc/php5/cli/php.ini


and enter the following at the end:

zend_extension = /usr/local/ioncube/

service php5.6-fpm restart
service apache2 restart

or simply

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