Home  >  Article  >  Backend Development  >  The solution process for wamp server to access php is very slow, wamp server to access php_PHP tutorial

The solution process for wamp server to access php is very slow, wamp server to access php_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 09:48:03764browse

The wamp server is very slow to access php. The wamp server is accessing php

wamp has obviously been much slower than before in the past two days. I restarted it and it still worked at first. Later, restarting it didn't work, so I checked the cause online and shared it with friends who needed it.

Possible reason 1. The apache access.log file is too large (I used this to solve the problem)

Solution: clear the log file; log path: wampbinapacheApache2.4.4logsaccess.log

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

Possible reason 2. hosts file (I read it online, I have not tried it because method 1 has solved my problem);

The cause of the problem: hosts file, which records commonly used domain names and access URLs. When the browser inputs, it first checks the hosts file. If there is one, access it according to the hosts file IP. If there is no one, it requests the DNS server. DNS Access after server parsing. In order to restrict Adobe registration, the Adobe registration IP was previously restricted after the hosts file, and was set to 0.0.0.0. There were many filters, which resulted in slow local access.

Solution: Delete the hosts filter (deleting the filter may cause permission issues, back up first, then copy to other places, such as the desktop, open and modify, save as txt format, then rename, delete .txt, and then copy to etc folder)

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1024931.htmlTechArticleThe solution process for wamp server to access php is very slow. The wamp server to access php wamp has been obviously slower than the previous access in the past two days. A lot. I restarted it. It worked at first, but then it didn’t work again...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn