Wamp server access to PHP very slow possible causes and workarounds

Source: Internet
Author: User
Possible causes and workarounds for Wamp server access to PHP very slowly

Wamp These two days is obviously more slow than the previous visit, restarted the next, just beginning also effective, later restarted also useless, on the internet for the next reason, to share to the needs of friends.

Possible cause 1, Apache Access.log file too large (I am using this solution)

Workaround: Empty the log file; log path: Wamp\bin\apache\apache2.4.4\logs\access.log

============================================================

Probable cause 2, the Hosts file ( see on the net, I have not tried , because method one has solved my problem);

The cause of the problem: the Hosts file, he is the common domain name and access to the site record down, when the browser input, first check the Hosts file, if there is the Hosts file IP access, if there is no request DNS server, DNS server after resolution access. Due to restrictions on Adobe registration, the adobe registered IP was previously restricted after the hosts file and was set to 0.0.0.0 many filters, resulting in slow local access.

Workaround: Delete the hosts filter (delete filter may create permissions problems, first backup, and then copy to other places, such as the desktop, open and modify, save as TXT format, and then rename, delete. txt, and then copy to the ETC folder. )

  • 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.