apache installation steps finishing

A download

1. Open the apache official website http://www.apache.org/

2. Click on the top right corner Download

3. Click on the top right corner http://www-us.apache.org/dist

4. Click httpd /

5.点击Apache HTTP Server Download Page

6. Click Files for Microsoft Windows

7. Click ApacheHaus

8. Click the appropriate version to download

Two assembling

1. unzip the zip package to the appropriate location, such as "F: \ Apache" (mysql and php files are added later)

Three configuration

1. Open the httpd.conf file in the "Apache-2.4.20 \ conf"

2. modify the file position, as in FIG.

3. Modify the port, as shown below

Revised to 8080, is already in use in order to avoid 80

4. Open cmd as an administrator, execute the command "cd / d F: \ Apache \ Apache24 \ bin"

5. Run "httpd.exe -k install", Apache will install as windows service

6 Run "httpd.exe -k start" to start the service (Command line to start the service), if no error message, or enter http://127.0.0.1:8080 browser to http: // localhost: 8080 will be displayed map

7. Additional service start method, start using ApacheMonitor.exe

Published 78 original articles · won praise 3 · Views 1656

Guess you like

Origin blog.csdn.net/weixin_43307431/article/details/104433706