Sandeep B. Posted June 2 Share Posted June 2 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. 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.alphagnu.com/upload/apache-rebuild.sh yum install uuid uuid-devel libuuid-devel pcre-devel -y chmod 755 apache-rebuild.sh sh apache-rebuild.sh Current version downloaded by this script : 2.4.58 After installation if apache failed to start with below error : Quote (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 Link to comment Share on other sites More sharing options...
Starburst Posted November 5 Share Posted November 5 FYI 2.4.58 was released on 2023-10-19 1 Link to comment Share on other sites More sharing options...
Sandeep B. Posted November 6 Author Share Posted November 6 8 hours ago, Starburst said: FYI 2.4.58 was released on 2023-10-19 updated the script, thanks for the info Link to comment Share on other sites More sharing options...
Starburst Posted November 20 Share Posted November 20 (edited) Having a weird problem after this latest rebuild. No new sites or domains added are working. Under Admin -> WebServer Settings -> Apache Re-Build, it's not showing 2.4.58, only the older 2.4.57 Rebuilt to the older version, and then also rebuilt in vhosts under Admin -> WebServer Settings -> WebServers Main Conf Rebuilt again to 2.4.58, still no joy. Any suggestions? Edited November 20 by Starburst Link to comment Share on other sites More sharing options...
Sandeep B. Posted November 20 Author Share Posted November 20 2 hours ago, Starburst said: Having a weird problem after this latest rebuild. No new sites or domains added are working. Under Admin -> WebServer Settings -> Apache Re-Build, it's not showing 2.4.58, only the older 2.4.57 Rebuilt to the older version, and then also rebuilt in vhosts under Admin -> WebServer Settings -> WebServers Main Conf Rebuilt again to 2.4.58, still no joy. Any suggestions? hi can you check the vhost is created or not after you rebuilt the webserver config ? as the latest apache version doesn't interfere with it. Link to comment Share on other sites More sharing options...
Starburst Posted November 20 Share Posted November 20 vhost is created correctly in /usr/local/apache/conf.d/vhosts/ with the right IP. Tried deleting & recreating, still isn't seen. Link to comment Share on other sites More sharing options...
Sandeep B. Posted November 21 Author Share Posted November 21 you meant site is showing default page ? or there is any other error when you open the sites ? screenshots will be helpful Link to comment Share on other sites More sharing options...
Starburst Posted November 21 Share Posted November 21 It must have been a ghost. No error messages, other than Let's Encrypt saying the domain wasn't pointed to the IP or was .htaccess restricted, would just load to the first site in the user list using the shared IP. Did an images restore, and updated Apache again, and all is working. Very weird. Never seen a problem like that in 5 years of running CWP. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now