1. I installed a httpd-2.2.17-win32-x86-no_ssl.msiapache here, double click to install
2. Agree to the Agreement
3. Next Step
4. Enter the network domain name, service name, and administrator email address.
5. Select Custom installation Custom
6. Select the installation content and set the installation path.
7. Confirm Installation
8. Enter http: // 127.0.0.1 in the browser to display the IIS 7 interface. This is because the IIS server has been installed on my computer and the port number is also set to 80, you need to modify the default port number.
9. Modify the default port number
(1) The conf folder in the apache installation directory contains a text document such as httpd. conf,
It is an Apache configuration file used to run Apache. The default Web Service port number of Apache is configured (modified) here ).
To modify this file, you must first open it and double-click it. Then, press Ctrl + F on the keyboard and enter Listen 80 in the pop-up "Search" dialog box, I changed it to 8082.
(2) restart the apache2.2 service after saving it, right-click "my computer", and select "manage" to go to, for example, restart apache.
10. Final quiz: Enter http: // 127.0.0.1: 8082/in the browser. "it works!" appears !"
Note: If you modify the default port number (if you change Listen 80 to Listen 8082), you must add a colon + port number to the address, such as http: // localhost: 8080 or
Http: // 127.0.0.1: 8082. Only in this way can you access the webpage on the Apache server.