In this tutorial It will be about updating Apache version to latest possible version in CWP. In CWP, Apache is the main and default web-server by default it will install stable old version of Apache, you can always update it to latest version and stay up to date with the below script, it will download the latest possible version and do the update job.
The Apache HTTP Server, colloquially called Apache, is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation.
Apache is now old, shift to “nginx + php-fpm” for greater speed and it will fix the issue with performance and security, Apache is more vulnerable and hackers loves it .
You need to follow this simple commands to update Apache in CWP :
cd /usr/local/src rm -rf /usr/local/src/apache* wget --no-cache https://www.mysterydata.com/upload/apache-rebuild.sh chmod 755 apache-rebuild.sh sh apache-rebuild.sh
Current version downloaded by this script : 2.4.43
After installation if apache failed to start with below error :
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
rebuild the webserver config/vhosts i.e from admin >> webservers settings >> select webservers >> click button save and rebuild configuration
**Let me know if i missed the update for Apache, I’ll update it asap.
It is very short tutorial regarding Apache update in cwp, If you want to request for more tutorials like this visit our forum :
If you’ve any questions regarding the CWP don’t hesitate to open a forum topic @ https://forum.mysterydata.com/