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.
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop












{ 3 comments… read them below or add one }
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.
David,
Thanks for information :)
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.