Install ionCube Loader on CentOS 7

Go to

http://www.ioncube.com/loaders.php

Download latest version of ionCube Loader

Find out PHP version you are using with command

ioncube php version

Here we have PHP version 5.6, now you need to find the available loaders for PHP 5.6 with command

The one we needed is ioncube_loader_lin_5.6.so

You need to copy it to PHP extension_dir directory.

To find location of extension_dir, run

For default php installation, it will be /usr/lib64/php/modules

So copy it the loader with command

Edit php.ini

Add

At this point, php -m will show ionCube loader.

ioncube php module

Now restart web server with

ioncube