Wamp server access to php is a very slow solution process, wamp server access to php_PHP tutorial

Source: Internet
Author: User
Wamp server accesses php very slowly. wamp server accesses php. The wamp server's access to php is a very slow solution process. the access to phpwamp by the wamp server is much slower than the previous two days. after restarting the server, it is still valid at the beginning, and it is useless to restart the server later, wamp server accesses php very slowly. wamp server accesses php

Wamp is much slower than the previous access in the past two days. after it is restarted, it is still valid at the beginning, and then it is useless to restart it. I checked the cause on the Internet and shared it with my friends.

Possible cause 1: The apache access. log file is too large (this is my solution)

Solution: Clear the log file. log path: wamp \ bin \ apache \ Apache2.4.4 \ logs \ access. log

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

Possible cause 2: hosts File (I have not tried it on the Internet, because Method 1 has solved my problem );

Cause of the problem: the hosts file, which records common domain names and access URLs. when the browser inputs the file, check the hosts file first. If yes, access the file by the ip address of the hosts file, if no DNS server is available, the DNS server will be requested for access after resolution. In order to restrict adobe registration, the adobe registration ip address was previously restricted after the hosts file, which was set to 0.0.0.0 for many filtering operations, resulting in slow local access.

Solution: copy to The etc folder .)

The above is all the content of this article. I hope you will like it.

Mongowamp is much slower than the previous access in the past two days. it is effective at the beginning after it is restarted, and it is useless to restart it later ,...

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.