Install ionCube on Debian 9

Download latest version of ionCube loader from

Check PHP version with

On Debian 9, default will be PHP 7.0, so you need to use file ioncube_loader_lin_7.0.so

Find PHP extension_dir, this is where you need to put PHP extensions.

Copy the file to extension directory

Enable ionCube loader with

Now php -m will show ioncube

Restart apache

ioncube | ionCube on Debian 8