How to install Ioncube loader

What is IonCube ?

Secure and license your PHP scripts with the ionCube PHP Encoder. Protect files with PHP encoding, encryption, obfuscation and licensing capabilities.

Prepare Webserver and PHP
I assume you already have apache webserver and php installed on your server.

Download IonCube and Install it :

Login as root into your server
$tar zfx ioncube_loaders_lin_x86-64.tar.gz
$mv ioncube /usr/local

Find your php.ini
$php -i | grep php.ini

Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

Edit your php.ini
$pico /usr/local/lib/php.ini

### add this line in your php.ini

## save this file

Important : if you have zend optimizer and zend manager installed on your php
Please make sure ioncube_loader is on the top of zend list.

Ex php.ini :


Restart Webserver
$service httpd restart

Verify your PHP with phpinfo or php -v
$php -v

PHP 5.2.5 (cli) (built: Mar 17 2008 14:00:52)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

Was this answer helpful?

 Print this Article

Also Read

How to install IonCube Loaders

How to install ionCube loader: ionCube produces leading tools for PHP source code protection...

Vi Editor

vi editor : The VI editor is a screen-based editor used by many Unix users. The VI editor has...

How to install Lighttpd

nstalling Lighttpd : Lighttpd is available via the RPMForge repositories RPMForege i386 install...

Optimize mySQL and Apache

Optimize mySQL: Memory usage is an important thing when consider the server. Normally mySQL...

How to install nginx

  How to install nginx Installing nginx on centOS by admin on Aug.16, 2010, under How to...