php 错误

ini_set('display_errors', '1');
error_reporting(E_ALL ^ E_NOTICE);
 
有时有了其它框架 应该用它的配置,要不然,你改了,它又改回去了;除非你知道错的那一行,加这两行到它上面;写日志_log =’path/error.log’, 发现如果关闭显示错误,日专也不写了
原文地址:https://www.cnblogs.com/anjunact/p/6039382.html