How to make php error message

Hope in the php file error occurs, no error messages on the page, but display 500 Internal Server Error error,
the solution is to find display_errors in the configuration file php.ini, set it to On

When used for general development, set to On, set to deploy to Off
Here Insert Picture Description

Published 43 original articles · won praise 1 · views 3141

Guess you like

Origin blog.csdn.net/u011523953/article/details/104336968