Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem that wamp server accesses php very slowly?

Shulou Source: shulou.com Published: 2022-06-03 19:04:41 11月12日 Update

This article mainly introduces "how to solve the problem that the speed of wamp server accessing php is very slow". In daily operation, I believe many people have doubts about how to solve the problem of slow speed of wamp server accessing php. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the problem of "how to solve the problem of slow wamp server accessing php". Next, please follow the editor to study!

Possible reason: 1. The apache access.log file is too large (this is what I used to solve it)

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

=

Possible reason 2, hosts file (read on the Internet, I have not tried, because method 1 has solved my problem)

The cause of the problem: hosts file, he records the commonly used domain name and access URL, when the browser enters, first check the hosts file, if there is, then press the hosts file ip access, if not, request the DNS server, DNS server parsing and then access. In order to restrict adobe registration, adobe registration ip was previously restricted after the hosts file, which was set to 0.0.0.0 a lot of filtering, resulting in slow local access.

Solution: delete hosts filtering (deleting filtering may cause permission problems, first backup, and then copy to other places, such as the desktop, open and modify, save to txt format, then rename, delete .txt, and then copy to the etc folder. )

At this point, the study on "how to solve the problem that the wamp server accesses php very slowly" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Problems files servers services speed methods learning reasons logs more help restrictions practical slow next places domain names backups that is commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Redmi NVidia Docker Shulou Technology