Install ionCube Loader in Linux Server from PHP

Install ionCube Loader in Linux Server from PHP

Use command from download:

wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Unarhive:

tar -zxvf ioncube_loaders_lin_x86-64.tar.gz

Create folder:

mkdir /usr/local/ioncube

Move file:

cp ioncube/ioncube* /usr/local/ioncube

Edit file:

nano /etc/php.ini

Add lines (from php 8.1):

[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_8.1.so
zend_extension_ts = /usr/local/ioncube/ioncube_loader_lin_8.1_ts.so

Restart apache or php-fpm:

systemctl restart php8.1-fpm
systemctl restart apache2
systemctl restart httpd

Check:

php -v

Done 😄