How To Install ionCube on Ubuntu 20.04

ionCube is PHP extension that is used to load ionCube encoded PHP files. ionCube is used to protect commercial PHP scripts by encoding it, so no one can read the actual PHP code.

First, download ioncube loader from

https://www.ioncube.com/loaders.php

Find extension directory and copy .so file to PHP extension directory. To find PHP extension directory run

On my installation, i have PHP extension_dir set to /usr/lib/php/20190902. If it’s different for you, change the path in the following command.

For PHP 7.4, run

Enable ioncube

for Apache, run

for php-fpm, run

Leave a Reply

Your email address will not be published. Required fields are marked *