Wampserver Resolve "cannot switch online" and run "404 Related Issues"

Source: Internet
Author: User
Wampserver solve "can't switch online" and run "404 Problem"

Initial installation using wampserver2.2, the following problems may occur due to different computer installed applications or different computer models:

1. After installation, you cannot switch "server online" or "Server offline"

2. After setting up the site, run the written code with 404 errors


For these problems, Baidu has a lot of solutions, the author of the new himself tried, there are some methods are not feasible.

So the author again nagging:

There are two reasons to note these problems:

1. Computer's default 80 port, has been occupied

An error occurred while configuring 2.wampserver

For the first question, you only need to change the product number to a 8080-end product:

Open wampserver/apache/httpd.conf file, modify port number:

When you're done, restart the Apache server and you'll see that the wampserver icon turns green from Orange, indicating that the server is working properly.

There are 404 problems with running code through the server:

This is due to a very easy to neglect the problem, the computer default port number is 80, now has the port number of Apache to 8080, then set the site, configure the server when you also set the port number:

Once this is set up, running the code again will not be an error;

  • Related Article

    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.