Cannot modify header information - headers already sent

科技探索者 2017-11-23

linux php Apache BY htdocs cto Blog

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/cacti/lib/snmp.php:317) in /usr/local/apache/htdocs/cacti/host.php on line 131
 

解决办法:
 
# vi /usr/local/php/etc/php.ini

output_buffering = on     (原为output_buffering = off)
:wq
本文转自linux博客51CTO博客,原文链接http://blog.51cto.com/yangzhiming/840979如需转载请自行联系原作者

yangzhimingg
登录 后评论
下一篇
我是小助手
32626人浏览
2019-07-31
相关推荐
php runtime 使用 FAQ 问题列表
1634人浏览
2018-11-05 20:43:37
HTTP深入浅出http请求
748人浏览
2013-02-21 14:29:00
Http Status Codes
1031人浏览
2012-11-05 21:37:00
彻底杜绝PHP的session cookie错误
401人浏览
2011-03-11 18:01:00
squid logformat
533人浏览
2017-11-12 03:15:00
php错误调试
513人浏览
2017-11-22 18:23:00
HTTP状态码详解
751人浏览
2017-11-20 22:06:00
php页面编码设置详解
392人浏览
2017-11-07 18:37:00
0
0
0
537