使用以下命令检查PHP日志文件或启用错误显示 display_errors 旗。还可以记录所有错误: error_reporting(E_ALL); 并使用。验证这些设置 phpinfo() 。
display_errors
error_reporting(E_ALL);
phpinfo()