This is an old revision of the document!
The example is for PHP 5.6 as provided by Ondřej Surý repository. The procedure is identical for any PHP version that is provided by Ondřej Surý repository. You MUST just adapt the path for the PHP extensions.
First, let's retrieve the path for PHP extensions:
So here, the path is:
/usr/lib/php/20131226
Download, extract and install the IonCube Loader for the PHP 5.6 version:
Create the /etc/php/5.6/mods-available/ioncube.ini file with the following content
; configuration for php ionCube PHP Loader module ; priority=01 zend_extension=ioncube.so
php5.6 -v PHP 5.6.36-1+0~20180505045733.13+jessie~1.gbp9b5cab (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.1, Copyright (c) 2002-2018, by ionCube Ltd. with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
If you use PHP-FPM
If you use FCGID: