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

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

Edit php configuration files:

[email protected]:   apt-get install nano

[email protected]:   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