Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade from apache 2.2 to 2.4

2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article is about how to upgrade apache 2.2 to 2.4. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The detailed steps are as follows:

1. Download Apache2.4 on the official website

2. Extract the downloaded Apache to the environment directory you want to match.

3. Go to the bin directory under apache under the command line and enter httpd-k install

4. Error "ServerRoot must be a valid directory" after installation

Solution: change httpd.conf Define SRVROOT "D:/myenv/Apache24" to absolute path

5. Uninstall the previous service and reinstall httpd-k uninstall httpd-k install

6. Error "make_sock could not bind to address 443"

Solution: modify 443 of Apache24\ conf\ extra\ httpd-ssl.conf and replace it with 444

Modify Apache24\ conf\ extra\ httpd-ahssl.conf 443 and replace it with 444

7. Apache failed to start. Use the command httpd.exe-w-n "Apache2.4"-k start to see the cause of the error.

Be sure to pay attention to the versions of Apache and php here. At the beginning, the Apache I downloaded is V14, php is V11, and the integration of Apache and php has been failing, so I changed it to

Httpd-2.4.27-x64-vc14.zip and php-7.1.8-Win32-VC14-x64.zip

Thank you for reading! This is the end of this article on how to upgrade apache 2.2 to 2.4. I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report