Home >CMS Tutorial >PHPCMS >Why is PHPCMS background access so slow?

Why is PHPCMS background access so slow?

Guanhui
GuanhuiOriginal
2020-06-06 09:52:353298browse

Why is PHPCMS background access so slow?

#Why is PHPCMS background access so slow?

Because PHPCMS connects to the database by default, the HOST used is "localhost", and if "localhost" is not parsed by "127.0.0.1", it will cause PHPCMS to access the database very slowly, so it is also As a result, backend page access is very slow.

Solution

Resolve localhost or change localhost to 127.0.0.1

Why is PHPCMS background access so slow?

Recommended tutorial: "PHPCMS Tutorial"

The above is the detailed content of Why is PHPCMS background access so slow?. For more information, please follow other related articles on the PHP Chinese website!

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
Previous article:phpcms choose utf8 or gpkNext article:phpcms choose utf8 or gpk