HostOnNet Blog

Installing ioncube loader on CentOS

Download latest Ioncube loader for your OS from

For CentOS 64 bit

cd /usr/local/src
tar zxvf ioncube_loaders_lin_x86-64.tar.gz
cd  ioncube
mkdir /usr/local/ioncube
cp /usr/local/ioncube

I coped as PHP version installed on the server was PHP 5.2

Now edit php.ini file. To find location of php.ini, run

php -i| grep php.ini

In my case, php.ini was in /etc/php.ini folder

Add following line to end on php.ini

zend_extension = /usr/local/ioncube/

Posted in PHP