How To Update Apache Using Cpanel EasyApache
A lot of hosts that use a large number of servers are now going for automating updates instead of doing the same manually. Although we all know that updates in cPanel can also be automated, the process of doing the same is still a mystery that has to be unleashed. It is also a big query of how to automatically update across more than one server without having to manually run EasyApache on each and every server. This process can consume a lot of time. If PHP and Apache were built using RPM, then it may have been possible to run an automatic update. However, since that is not the case and they are built using EasyApache updating automatically has become a great challenge.
Before updating PHP and Apache automatically the following things have to be kept in mind:
You should avoid doing this till you have updates that are running in cPanel automatically and are for stable and release builds alone. This will reduce the chance of some errors from taking place during the process and keep you away from the non-functioning builds across many servers It is wise to check and test your build first on a single server before applying it on several servers.
Updating Apache using cPanel EasyApache
EasyApache is known as a script that is pre configured and allows you to update the Web server ( Apache) through SSH or WHM.
Requirements for the same:
Server should have access to Root SSH
Login as root through SSH. Login to server and su - to root. Run EasyApache scripts/EasyApache. Options needs to be chosen for your configuration Type in '6' and press 'enter'.
You can see the configuration options with which you can build Apache.
Use space bar to deselect/select the menu you want, make use of the keys (arrows) to move and go to the sub menu by pressing the enter button. Go to module options (PHP) Move your cursor to PHP and then press enter. You can see many options from which you can select.
Complete Config options, as soon as you choose your configuration for Apache. Exit and say "Yes"to safe configuration
Apache will be formatted with your modules and options.
You need to patiently wait for this process to be completed as it may take any where between 15-30 minutes. The speed of your PC will of course create an impact on the speed. Apache will now restart
You will now see a message as follows
"HTTP started ok".
This means that the update using cPanel EasyApache is completed successfully and you are good to go. Apache is now done!
You can now check your websites and ensure if all is well and functioning well.
If there are any Problems?
If you can see any problem then you can go back to step 2 and change the needed options in the process of configuration if things do not work for you.
If selecting minimum options also fails then do not select Option 6 during step 3, instead go for Option 5 or 3 depending on your requirement.
So when updating using cPanel EasyApache you will find it is an easy to use and very effective tool.
If you like this information please follow us at;
Highly Recommended 2019
Webhosting-top10.com is a professional hosting review site that sometimes receives a form of compensation from companies whose products we are reviewing. We test each company thoroughly, on a regular base, and give only high marks to the best. Webhosting-top10.com is independently owned and the opinions that are expressed on our site are our own. We will always offer you the lowest prices, including discount coupons, that available on the internet.
About the Author
John Hillbreak is one of the founders of Web Hosting Top10