Detailed steps to upgrade apache 2.2 to 2.4

王林
Release: 2021-01-21 10:20:21
forward
5648 people have browsed it

Detailed steps to upgrade apache 2.2 to 2.4

The detailed steps are as follows:

(Learning video sharing:Introduction to Programming)

1. Download Apache2.4# from the official website

##2. Unzip the downloaded Apache to the environment directory to be matched

3. Enter the bin directory under apache from the command line and enter httpd -k install

4. After installation, the error "ServerRoot must be a valid directory"

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

5. Uninstall the previous service. After reinstalling httpd -k uninstall httpd -k install

6, the error "make_sock could not bind to address 443"

Solution: Modify Apache24\conf\extra\httpd-ssl.conf Replace 443 with 444

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


7. Apache fails to start, use the command httpd.exe -w - n "Apache2.4" -k start, when you see the error reason

, you must pay attention to the versions of Apache and php. At the beginning, the Apache I downloaded was V14, and php was V11. The integration of Apache and php kept failing. Changed to

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

Related recommendations:

apache tutorial

The above is the detailed content of Detailed steps to upgrade apache 2.2 to 2.4. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!