[Gandi][SH] Installation of ioncube_loader. Please follow this procedure to install 'ioncube_loader' on your instance: 1/ Connect to your instance via the 'console ssh': https://wiki.gandi.net/en/simple/console 2/ Create a 'modules/' directory:

hosting-user@MyInstance:~$ mkdir -p /srv/data/home/modules
hosting-user@MyInstance:~$ cd /srv/data/home/modules/
hosting-user@MyInstance:/srv/data/home/modules$

3/ Download the 'ioncube' archive:

hosting-user@MyInstance:/srv/data/home/modules$ wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

4/ Uncompress it:

hosting-user@MyInstance:/srv/data/home/modules$ tar xfz ioncube_loaders_lin_x86-64.tar.gz

5/ Modify the 'php.ini' file via the configuration page of your instance: https://< instance id>.admin.dc0.gpaas.net/ Please read this documentation: https://wiki.gandi.net/en/simple/php/phpini Add this line: If your PHP version is 5.6:

zend_extension = /srv/data/home/modules/ioncube/ioncube_loader_lin_5.6.so

If your PHP version is 7.0:

zend_extension = /srv/data/home/modules/ioncube/ioncube_loader_lin_7.0.so

6/ Restart your instance via the information page of your instance: https://www.gandi.net/admin/hosting/paas/< paas id> 7/ To check if the module has been correctly loaded, create a simple php file and transfert it to your instance : ioncubetest.php:

<?php
header("Cache-Control: max-age=1"); // don't cache ourself
phpinfo();
?>

With a browser, go to this url to display this page: http://mysite.com/ioncubetest.php And you will see this message on top of the internet page:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.2, Copyright (c) 2002-2016, by ionCube Ltd.
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies