0

cPanel: Enable IonCube Loaders

This is a very tricky thing even for the most experienced cPanel system administrators.

First, we run Easy Apache to enable IonCube support in PHP.

Profile:
Choose “Previously Saved Config” and click “Start customizing based on profile”.

Apache Version:
Choose the latest which is not END OF LIFE. For this tutorial, Apache 2.2.23 is the latest and we want to choose this then click “Next step”.

Please choose which PHP version(s) to build:
We do not want END OF LIFE or EXPERIMENTAL. For this tutorial, 5.3.17 is the latest and most stable version so we choose this and click “Next step”.

Short Options List:
Here is our option for IonCube Loader for PHP. Now click “Exhaustive Options List”

Exhaustive Options List:
While we are here, you may want to consider enabling these options under PHP 5.3.17 such as Exif, GD, Mbstring, Mcrypt, PDO MySQL, and Zlib. These are common PHP requirements on most web applications and if you run a shared or reseller web hosting for individuals, they will require this one day!

Next, we click “Save and build” while we go grab a cup of coffee or take the dog for a walk around the block. Recompiling Apache and PHP takes about 10 minutes or so, depending on your system.

Step 2:
Most people forget this step!

We login to our cPanel server http://ip-address:2087 and go to Tweak Settings up at the very top.

Search for PHP and look for cPanel PHP loader. Here you enable ioncube, scroll down to the bottom and click Save. This is where most people forget to enable the PHP loader in this area but compile it in our PHP.

Conclusion:
With this enabled, you can run your IonCube encoded PHP web applications and have it fully supported for your cPanel server for all your other domains, customers and resellers.