Differences
This shows you the differences between two versions of the page.
— |
cpanel:how-to-install-ioncube [2013-03-06 16:54:16] (current) shaun.reitan created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== 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. | ||
+ | |||
+ | ===== Installing IonCube for cPanel/ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | - Log into the WHM by going to your servers IP followed by /whm or :2087 (ex: http:// | ||
+ | - On the left hand side click the 'Tweak Settings' | ||
+ | - Click the PHP tab on the right hand side | ||
+ | - Find the configurable option labeled ' | ||
+ | - Click Save | ||
+ | |||
+ | |||
+ | ==== Installing via the CLI ==== | ||
+ | |||
+ | In order complete this task you must have shell access to the server as the user root | ||
+ | |||
+ | - Log into the shell as the user root | ||
+ | - Edit / | ||
+ | - Next execute the following command, / | ||
+ | - And then / | ||
+ | - and finally / | ||
+ | |||
+ | |||
+ | ===== 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. | ||
+ | |||
+ | - Log into the console as root | ||
+ | - Run / | ||
+ | |||
+ | 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. | ||
+ | |||
+ | - Log into the WHM as the user root. | ||
+ | - On the left hand side scroll down and click the EasyApache link | ||
+ | - Under ' | ||
+ | - Under ' | ||
+ | - Under 'PHP Version' | ||
+ | - Under 'Short Options List' check the ' | ||
+ | - This process will take a while to complete, roughly 10-30 minutes depending on your hardware. | ||
+ | |||
+ | ==== 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. | ||
+ | |||
+ | - Log into the console as root | ||
+ | - Run / | ||
+ | - Select ' | ||
+ | - Under ' | ||
+ | - Under 'PHP Version' | ||
+ | - Under 'Short Option Lists' check the ' | ||
+ | - This process will take a while to complete, roughly 10-30 minutes depending on your hardware. |