php报500错误时显示所有错误

在php文件的开头输入

ini_set("display_errors", "On");
error_reporting(E_ALL | E_STRICT);

 

你可能感兴趣的