1. Apache Download, login http://httpd.apache.org/download.cgi, select files for Microsoft Windows, have the following options,
I chose Apache Haus.
HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX Apache 2.4 VC9
Unzip after download
2. Modify the Appache httpd.conf file, find the Define srvroot This configuration item, change its value to the directory of the Apache file you extracted, note the slash to use "/", eg:
" D:/software\httpd-2.4.18-x86-r3/apache24 "
Then modify LISTEN, where the default is 80 port, you first make sure that your 80 port is not occupied, you can use the following command in CMD to view, Netstat-a.
3. Then configure the master service to install Apache, open cmd as an administrator, enter: "Your Apache decompression path to Bin\httpd.exe"-K install-n Apache, quotation marks are also needed. Apache is the name of the service, this can be changed. The install may appear "Errors reported here must is corrected before the service can be started." It doesn't matter, check if you have Apache in your service. Services:
Input: net start Apache
4. In the browser type: http://localhost: You configure the Apache port, the following diagram appears, OK, succeeded.
Win10 under Appach Configuration