php 错误

ini_set('display_errors', '1');
error_reporting(E_ALL ^ E_NOTICE);
 
有时有了其它框架 应该用它的配置,要不然,你改了,它又改回去了;除非你知道错的那一行,加这两行到它上面;写日志_log =’path/error.log’, 发现如果关闭显示错误,日专也不写了
posted @ 2016-11-07 16:22  anjunact  阅读(192)  评论(0编辑  收藏  举报