How to install ionCube loaders

Question:

How do I install the ionCube loaders?

Answer:

Note that these instructions apply to our billing products only.

You will need root access for the server to install ionCube loaders.

Download the latest ionCube loaders to your computer and upload them to your server.

Move the ionCube folder to a permanent location by entering:

mv ionCube /usr/local 

Next, you need to locate the php.ini file, to do this enter:

locate php.ini 

You should find it is in /usr/local/lib/php.ini. Now that you know the location of php.ini you need to edit it.

pico /usr/local/lib/php.ini 

Now find where other zend extentions are in the file. These usually are located at the bottom of the file.

ctrl + w: zend_extension 

Paste in your new line for ionCube loader, replacing x with your version of PHP, e.g. 5.6.

zend_extension = /usr/local/ionCube/ionCube_loader_lin_x.so 

Save the changes

ctrl + X then Y and enter 

Restart the web server to take effect.

/etc/init.d/httpd restart 

ionCube is now installed on your server. You should now see under additional modules in your phpinfo page the loaders are installed.