Why the php code does not show errors but only 404
This article introduces the knowledge of "Why the php code does not show errors and only show 404". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Originally, the password of the database account was not configured, but 404 was displayed all the time, no matter what was wrong.
Solution: comment out error_page 404 / 404.html from the site profile
"Why the php code does not show errors only 404" content is introduced here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!