Installing ioncube loader on CentOS - LabCollector

Search Knowledge Base by Keyword

Installing ioncube loader on CentOS

You are here:
← All Topics

Download latest Ioncube loader for your OS from
http://www.ioncube.com/loaders.php

For CentOS 64 bit

1
2
3
4
5
6
cd /usr/local/src
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar zxvf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
mkdir /usr/local/ioncube
cp ioncube_loader_lin_5.2.so /usr/local/ioncube

Ioncube_loader_lin_5.2.so has been coped as PHP version installed on the server was PHP 5.2

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

1
php -i| grep php.ini

Here, php.ini was in /etc/php.ini folder

Add following line to end on php.ini

1
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

From: https://blog.hostonnet.com/installing-ioncube-loader-on-centos