User Tools

Site Tools


3rdparty:ioncube

This is an old revision of the document!


Install ionCube PHP Loader

Here is a short HowTo to get ionCube PHP Loader for all pages running.

Download & Extract

cd /tmp
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xfz ioncube_loaders_lin_x86-64.tar.gz
mv ioncube /usr/local/
rm ioncube_loaders_lin_x86-64.tar.gz

Create ini-File

Create following file /etc/php5/mods-available/ioncube.ini (for php5.6, for other versions just change the path)

/etc/php5/mods-available/ioncube.ini
; configuration for php ionCube PHP Loader module
; priority=01
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.6.so

Create ini-File

Enable module

php5enmod ioncube

Restart Services & Test

If you're using php5-fpm:

service php5-fpm restart

Else

service apache2 restart

Check if the module is loaded:

# php -v
PHP 5.6.14-0+deb8u1 (cli) (built: Oct  4 2015 16:13:10)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.19, Copyright (c) 2002-2015, by ionCube Ltd.
/var/www/virtual/i-mscp.net/wiki/htdocs/data/attic/3rdparty/ioncube.1466569390.txt.gz · Last modified: 2016/06/22 04:23 by nuxwin