查看php报错详情

vim /etc/php.ini

把里面的display_errors = Off,把Off修改为On,保存关闭文件,然后重启apache

原文地址:https://www.cnblogs.com/chenxi188/p/12666777.html