Sorry about the lack of updates, I have gotten the new game Rift and have been playing that non-stop.
Ok, in today’s tech tip I am going to be showing you how to use Easyapache through your web browser to recompile Apache/PHP for your server and enable suPHP. I won’t go over the pros/cons to each setup but I do recommend suPHP for increased security.
Firstly,you’ll need to navigate to your WHM and login. From there file the option “Easyapache (Apache Update)” and click on it.

Next from there you might have an existing profile you want to use (or you can download mine here). I am going to start off with “PHP Image Manipulation” and build off that.

Once you have that clickled your just going to press the “Start customizing based on profile”.
The next screen should bring up the Apache version screen. Unless you have a reason to run the other versions, I recommend Apache 2.2, so click that and then press ‘Next Step’.
The next screen will ask you what versions of PHP to compile. In this tutorial we will be compiling both in for the sake of showing everyone, so in my case I would check both and then click Next Step.
Now it will ask you to confirm the version. Again if you don’t have any reason to choose an older version select them both (4.4.9 and 5.3.4 at the time of this tutorial). Next a short options list will come up, check what you need and if you are all set click Save and Build, or if you want to confirm certain modules are enabled click ‘Exhaustive Options List”. I can’t really be of any assistance here but those are the basic steps to recompiling your Apache/PHP. My build profile is available below for review.
Next it’ll build and show the progress in the screen.

This may take a while depending on your server. Just let it do it’s thing; don’t worry if the page stops responding or you close the browser it won’t stop compiling. If that happens just wait for your server load to go down.
Once it’s down this window will pop-up. I would leave them both at suPHP and then click save.

After that your new PHP is compiled.
Link to my profile .yaml: http://brandonlong.me/downloads/brandonlong_build.yaml
Please note this article is provided as a how-to and I can not be held responsible for any errors. If an error is occurred and you need any help please feel free to e-mail me at brandon[@]brandonlong[.]me and I will assist you as good as I can. With that said happy server administrating!
Comments:2
Leave a Reply