Home >Backend Development >PHP Tutorial >Solve the problem of ThinkPHP reporting an error when opening APP_DEBUG=>false
I recently developed a project using ThinkPHP. After the local development and testing was completed and uploaded to the server, it opened normally for the first time. When I refreshed the page, the error "Page debugging error, the page cannot be found, please try again" appeared. I I'm really depressed. It's clear that the local setting of define('APP_DEBUG', false) works fine, but why does it go wrong when I put it on the server? Baidu, Google still hasn't found a solution, and suddenly found that the project APP_Name/Runtime/Cache directory and APP_Name/Runtime/Logs directory did not have writable permissions, so I changed it decisively, F5, oh well, mom no longer has to worry about error messages!
The above introduces how to solve the problem of error when opening APP_DEBUG=>false in ThinkPHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.