Just installed the WAMP local environment friend must be filled with joy to open the test, but then you will find: why my Wamp service has been in the offline state?
Actually very simple, because the Wamp operation service needs is 80 port, our computer other software some will occupy this port, therefore cannot use!
What about that?
All we have to do is change the WAMP default listening port to something else.
Method/Step:
1. Open the X:\wamp\bin\apache\apache2.4.9\conf folder (x is the drive letter you wamp installed), find the httpd.conf file, open it with text Editing tool (recommended notepad++)
2, open after ctrl+f search "Listen" keyword (probably in the position of 62 lines), the default "80" is modified to other port numbers, such as "8088",
3, open after ctrl+f search "Listen" keyword (probably in the position of 62 lines), the default "80" is modified to other port numbers, such as "8088", . and then save.
4. Next find the "Wampmanager.tpl" file in the X:\wamp directory, open it with a text editor, ctrl+f search " http://localhost "keyword (approximately 134 lines in the position)," http://localhost "followed by the port number you just set, such as" http://localhost:8088 , note that the colon here is the punctuation in English.
5. In the same vein, " http://localhost/phpmyadmin/ "and" http://localhost/webgrind/ " localhost" followed by ": 8088",
6, OK, it's done! Don't forget to save Oh! Then restart Wamp and look at it!!! Do you see that cute green icon in the wood?
Wamp failed to start, Apache port is resolved (Win7 test passed)