Download
Login https://httpd.apache.org/Select the appropriate version to download, here i download for Httpd-2.4.20-x64-vc14
Click "Download"
Click "Files for Microsoft Windows"
Select "Apacheaus"
At this point the browser jumps to the following link: HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX
Select Apache 2.4.20x64 Download:
After the download is complete, the following decompression package is available:
"Install Apache"
1. Decompression Httpd-2.4.20-x64-vc14.zip to local, in this case I extracted Apache to the system local E-disk;
2. Switch to the bin/directory under Apache decompression path as Administrator cmd, on my Computer: E:\Apache24\bin
Execute the following command
Httpd.exe-k Install-n apache2.4
(Note: The version I downloaded belongs to version 2.4, so the command line last with apache2.4)
The following prompt appears when the installation is successful:
Start Apache server after installation
net start apache2.4
Accessing http://localhost/in the browser
When the following page appears, the server is installed and started correctly;
Attached
To stop the Apache server command:
net stop apache2.4
To uninstall the Apache Server command:
Httpd.exe-k Uninstall-n apache2.4
can also be passed? E:\Apache24\bin\ApacheMonitor.exe Management of Apache services:
Windows System Installation Apache Server