Install Ioncube PHP Loader extensions via SSH client.
Firstable download module for your operating system. Links for download you can find in offical Ioncube website.
Download archive by using this command:
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
Unpack this archive with command:
tar -xvf ioncube_loaders_lin_x86-64.tar.gz
Check your php version now:
php -v
Create a directory for Ioncube module:
mkdir /usr/lib/php5/modules
You should see the various ioncube loader files corresponding to various php versions as below:
cp ioncube/ioncube_loader_lin_5.4.so /usr/lib/php5/modules/
cp ioncube/ioncube_loader_lin_5.4_ts.so /usr/lib/php5/modules/
Create additional configuration file with ioncube files location.
nano /etc/php5/conf.d/ioncube.ini
In this file write our ways:
zend_extension = /usr/lib/php5/modules/ioncube_loader_lin_5.4.so
zend_extension_ts = /usr/lib/php5/modules/ioncube_loader_lin_5.4_ts.so
Service apache restart by using this command: service httpd restart and check.
php -m