The ionCube loader is the library used to stack ionCube encoded documents on the server. It is expected to introduced on the webserver to unravel any ionCube encoded records prior to running. The ionCube gives a component to scramble your PHP content to keep them secure. It additionally keeps them secure from unapproved utilizes.
First Step – Download Ioncube Loader
Most importantly download the most recent ioncube loaders php modules from ioncube from ioncube download page. Then again you can likewise utilize following order to download ioncube loaders. Additionally separate the downloaded chronicle under /usr/local directory
tar xzf ioncube_loaders_lin_x86-64.tar.gz -C /usr/local
Second Step – Find Php.ini
Use the following commands to find.
php -i | grep php.ini
Configuration File (php.ini) Path => /etc/php/7.4/cli
Loaded Configuration File => /etc/php/7.4/cli/php.ini
As a matter of course PHP put away setup documents at the accompanying area. For instance, the setup records for the PHP 7.4 are put away at underneath area
- /etc/php/7.3/cli/php.ini #for PHP CLI
- /etc/php/7.3/fpm/php.ini #for PHP FPM
- /etc/php/7.3/apache/php.ini #for PHP with Apache
Third Step – Configuration
Presently, alter the necessary PHP design records or you might refresh in all the arrangement documents viewed as above. Annex the beneath code to the furthest limit of the records in view of your PHP rendition.
zend_extension = /usr/local/ioncube/
Change php version accordingly .
Fourth Step – Test Config
You can test your ioncube installation by using the following command.