Home > cPanel Tutorials | Tutorials > Daily Tech Tip: Recompiling Apache/PHP on your cPanel Server

Daily Tech Tip: Recompiling Apache/PHP on your cPanel Server

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
  1. Reply iGame
    11/12/05

    Hey man thanks for the tips, I was just looking at my tickets on x10 and found your site your great, I think you should do more like this :)

    • Reply brandon
      11/12/30

      Hello Sir,

      Sorry for the delay, hopefully within the new month or so I can overhaul this site and start doing them again. Thanks for your feedback.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks:0

Listed below are links to weblogs that reference
Daily Tech Tip: Recompiling Apache/PHP on your cPanel Server from Brandon's Blog
TOP