Table of Contents

How to install Ioncube loader on cPanel servers

First thing you need to do is figure out if you need IonCube installed for your cPanel/WHM scripts or for your Apache/PHP scripts. Figuring this out is simple, if you need IonCube to use a script on your website then you need to install IonCube for your Apache/PHP installation. If you need IonCube to access scripts from within the /cpanel, /whm, or /webmail interface then you need to install IonCube for cPanel/WHM/Webmail. Instructions for doing both are below.

Installing IonCube for cPanel/WHM/Webmail

Both the GUI and CLI methods are listed below

Installing via the WHM

In order to do this you must have administrative privileges, normally the root password.

Installing via the CLI

In order complete this task you must have shell access to the server as the user root

Installing IonCube Loader for Apache/PHP

There are multiple ways to do this, All have been listed below

Installing IonCube using the CLI version of PHPExtensionManager

This is the preferred method, all it does is install the loaders and does not require you to rebuild Apache and PHP. It's also the fastest method because of this. This method requires you to have shell access to the server as the user root via either the console, SSH, or some other means.

That's it! That was pretty simple, eh?!

Installing IonCube using the WHM

This method uses the GUI version of easyapache to install the ioncube loader, if you do not want to rebuild Apache and PHP then dont use this method.

Installing IonCube using the CLI version of EasyApache

This method requires you to have shell access as the user root via either the console, SSH or some other means.