'always_populate_raw_post_data' to '-1'

简介:

[Mon Aug 21 10:30:51.607253 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP 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

[Mon Aug 21 10:30:51.607293 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Warning:  Cannot modify header information - headers already sent in Unknown on line 0

[Mon Aug 21 10:30:51.607425 2017] [:error] [pid 4499:tid 139676310546176] [client 106.14.000.000:36848] PHP Warning:  Cannot modify header information - headers already sent in /usr/local/apache/htdocs/index.php on line 2


修改php.ini

always_populate_raw_post_data = -1











本文转自 jin626889 51CTO博客,原文链接:http://blog.51cto.com/zuoshou/1958130,如需转载请自行联系原作者
目录
相关文章
|
8月前
|
Python
Python POST data should be bytes, an iterable of bytes, or a file object. It ...
Python POST data should be bytes, an iterable of bytes, or a file object. It ...
73 0
error: R_LARCH_SOP_PUSH_PCREL against `x264_log_default‘:PLT shouldn‘t be with r_addend.
error: R_LARCH_SOP_PUSH_PCREL against `x264_log_default‘:PLT shouldn‘t be with r_addend.
136 0
|
JavaScript 中间件 开发者
res.send()和res.end()区别|学习笔记
快速学习 res.send()和res.end()区别
187 0
|
JavaScript
认识 Express 的 res.send() 和 res.end()
在使用 Node.js 的服务端代码中,如果使用的是 Express 框架,那么对于一个请求,常常会有两种响应方式:
333 0
认识 Express 的 res.send() 和 res.end()
why I cannot get any search result from P8F
why I cannot get any search result from P8F
87 0
why I cannot get any search result from P8F
Posted content type isn't multipart/form-data
Posted content type isn't multipart/form-data
438 0
|
XML 数据格式
Adobe form batch output print mode - multiple
Customer wants to render the body page 4 times on 4 different master page in one PDF. Take “Invoice” as example, the first copy will be printed on master page with text “for Customer”, the second copy will be printed on master page with text “for archive”.
103 0
|
Java 索引 Spring
Circular view path xxx would dispatch back to the current handler URL
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/79700275 ...
5422 0

热门文章

最新文章