修改php.ini中的配置行: display_errors = off //关闭 on开启php
修改php脚本,增长代码行: ini_set('display_errors', false); //false 关闭 true 开启配置