Wamp boot failure, Apache port occupied problem resolved (Win7 under test)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.