.htaccess中添加语句开启(apache) php_flag display_errors on 关闭调试 php_flag display_errors off 转载于:https://www.cnblogs.com/paofu/p/4609739.html