≡ Menu

Howto rebuild Apache for Cpanel Linux / UNIX Server (Control Panel)

Q. I’d like to rebuild Apache web to include support for additional modules or to latest version. How do I rebuild Apache for Cpanel Server?

A. Building Apache is quite easy under Cpanel server.

Procedure to Rebuild Apache for Cpanel

Login as the root using ssh

Type the following commands:
# cd /scripts
# ./updatenow
# ./easyapache

Just follow on screen instructions to rebuild Apache for Cpanel server under Linux/FreeBSD oses. Please note that you should see a menu on screen asking you which options you would like built into your apache install. Select options as per your requirements. Once it has completed it will automatically restart Apache for you and you will then be able to use the new features.

Share this tutorial on:

Like this? Follow us on Twitter OR support us by using Patreon

{ 3 comments… add one }
  • David Grega July 11, 2007, 3:58 pm

    Note that you can also use EasyApache by logging into the WHM interface, going to the “Software” section then clicking on “Apache Update.” Note that you may want to “Load Previous Config” as your first step to load your server’s existing configuration so you have a good idea of what is currently on the server as you customize Apache and PHP.

  • nixCraft July 11, 2007, 6:58 pm


    Thanks for information :)

  • Swapneel July 12, 2007, 5:09 am

    I’ve noticed that the script updatenow has been deprecated since the latest cPanel ver. 11 or perhaps earlier and maybe I’ve noticed it during these times.

    In turn you may just rsync the /scripts/ directory manually using the rsync command.

Security: Are you a robot or human?

Leave a Comment

You can use these HTML tags and attributes: <strong> <em> <pre> <code> <a href="" title="">

   Tagged with: , , , , , ,