How to install ionCube Loader PHP on Debian 11

By Yevgeniya Suminova on 2023-06-23

Introduction

This document contains the installation of ioncube loader process on Debian 11 with nginx server preliminarily installed.

We provide only the commands to follow step by step.

The data marked in yellow is something that has to be changed according to what you have in your system.

 

Steps to follow

Enter in your Debian 11 server and execute following commands.

sudo su

apt install wget

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

tar xzf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local

cd /usr/local

cd ioncube

php -v

ls

 

php -i | grep extension_dir

cp ioncube_loader_lin_7.4.so /usr/lib/php/20190902

 

nano /etc/php/7.4/cli/php.ini

Write below [PHP] the following:

zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so

Exit nano by saving the changes: Ctrl+x => y

The same has to be done for another file:

nano /etc/php/7.4/fpm/php.ini

Write below [PHP] the following:

zend_extension = /usr/lib/php/20190902/ioncube_loader_lin_7.4.so

Exit nano by saving the changes: Ctrl+x => y

systemctl restart nginx

We need to restart php service as well. Check which service you have:

systemctl -l | grep -i fpm

systemctl restart php7.4-fpm.service

You are done!

End of document

***

© 4z.com