Main menu

Install ioncube loader into redhat or centos

Manually installing iconcube loader into rhel or centos

The Ioncube loader is a PHP extension to execute protected PHP files encoded with ioncube. Ioncube is used with commercial PHP application to secure their PHP codes. If you are here you are also installing an application that is protected with this kind of encoding.

Download IonCube Loader file using wget command:
For CentOS 32-bit use:

 wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

For CentOS x86_64 (64-bit):

 wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

http://www.ioncube.com/loaders.php.
Extract the file. Issue this command:

tar xvfz ioncube_loaders_lin_*.tar.gz

Check you module directory

php -i | grep extension_dir

[root@ip-172-31-26-121 ioncube]# php -i | grep extension_dir
 extension_dir => /usr/lib64/php/modules => /usr/lib64/php/modules

Check your php version

php -v

[root@ip-172-31-26-121 ioncube]# php -v
 PHP 5.2.17 (cli) (built: Sep  1 2011 17:22:41)
 Copyright (c) 1997-2010 The PHP Group

Copy equvalnt ioncube extention into your modue directory

[root@ip-172-31-26-121 ioncube]# cp ioncube_loader_lin_5.2* /usr/lib64/php/modules/

Chnage your /etc/php.ini file to load extension

zend_extension =   /usr/lib64/php/modules/ioncube_loader_lin_5.2.so

Check is module is loaded or not

[root@ip-172-31-26-121 ioncube]# php -m
.....
[Zend Modules]
 the ionCube PHP Loader

You also can use an alternative method.

Just extract your ioncube into your webserver document root directory

[root@ip-172-31-26-121 ~]# mv ioncube /var/www/html

navigate to your iconcube directory via browser

http://localhost/ioncube

and follow the instructions.

FacebookTwitterGoogle+RSS