Installing IonCube Loader on Linux

Installation of IonCube Loader on any variaty of Linux is very simple.

Just get the copy from ioncube webpage itself, http://www.ioncube.com/loaders.php
We will download the 64-bit version for our example.

Then extract the file, copy the shared object file that matches your PHP version to an appropriate folder.
To learn your PHP version you can simple grep the php -i output.

After copying the shared object, add a few lines to your php.ini and that’s it.
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz
# learn php version
php -v
# let's say it's 5.2
mkdir /usr/local/ioncube
cp ioncube/ioncube_loader_lin_5.2.so /usr/local/ioncube
# locate your php.ini file
php -i|grep php.ini
Add the lines below at the end of your php.ini file.
[ code lang="bash" ]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
[ /code ]
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

Setting time with NTP in LINUX

NTP (Network Time Protocol) could be used to set time synced with ntp clocks, to do this use the...

Linux version & Operating System info

LINUX Version Info To learn the architecture and kernel version info use the shell command...

Compile and build Apache + MySQL + PHP from the source [cite]

This is a complete working solution to build Apache (httpd-2.2.25), MySQL (MySQL-5.6.14) and PHP...

Using vi Editor

Vi is the one of the mostly used editor in Linux via terminal. In most cases where Linux is used...

Build PHP5.5 on CentOS 6.4 with MSSQL Support [cite]

Most of the yum repos doesn’t include PHP5.5.X on current releases for the time being. So...