码迷,mamicode.com
首页 > 其他好文 > 详细

服务器输出多余东西,用ob_clean()也没用

时间:2017-12-13 14:59:22      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:tom   ted   log   class   cal   not   文件中   inpu   str   

Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data‘ to ‘-1‘ in php.ini and use the php://input stream instead. in Unknown on line 0

Warning: Cannot modify header information - headers already sent in Unknown on line 0

Warning: Unknown: Cannot send session cache limiter - headers already sent in Unknown on line 0

解决办法: 修改 php.ini 文件中 always_populate_raw_post_data = -1  把注释去掉

服务器输出多余东西,用ob_clean()也没用

标签:tom   ted   log   class   cal   not   文件中   inpu   str   

原文地址:http://www.cnblogs.com/fish-begonia/p/8032057.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!