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