:: What is ioncube loader
ionCube loader is the PHP extension that decodes encrypted PHP files at runtime. It is freely available and installation is very easy.
:: How to install ioncube loader on linux distro
+ download and extract
choose your ioncube loader version:
http://www.ioncube.com/loaders.php
|
1 2 3 |
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar xzf ioncube_loaders_lin_x86.tar.gz
mv ioncube /usr/local/ |
+ configure ioncube on php.ini
|
1 2 3 4 5 6 |
vi php.ini
## add this line, if you have zend_extention, please add on top of zend_extension
[Zend]
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
zend_extension_ts=/usr/local/ioncube/ioncube_loader_lin_5.2_ts.so
## if you used php 5.3 please use 5.3.so and 5.3_ts.so |
+ checking
|
1 2 3 4 5 |
php -v
PHP 5.2.5 (cli)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd. |
+ restarting httpd
|
1 |
apachectl restart |