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

by on July 7, 2007 · 3 comments· LAST UPDATED July 7, 2007

in , ,

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.



If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 3 comments… read them below or add one }

1 David Grega July 11, 2007 at 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.

Reply

2 vivek July 11, 2007 at 6:58 pm

David,

Thanks for information :)

Reply

3 Swapneel July 12, 2007 at 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.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <kbd> <blockquote> <pre> <a href="" title="">

Tagged as: , , , , , ,

Previous Faq:

Next Faq: