'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,如需转载请自行联系原作者
目录
相关文章
|
3月前
|
JavaScript
Component name “header“ should always be multi-word
Component name “header“ should always be multi-word
|
5月前
random.sample(population, k)
random.sample(population, k)
32 0
YOLO V5出现RuntimeError: result type Float can‘t be cast to the desired output type long int解决方法
YOLO V5出现RuntimeError: result type Float can‘t be cast to the desired output type long int解决方法
654 0
|
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 ...
106 0
|
索引
Result window is too large, from + size must be less than or equal to: [10000]
Result window is too large, from + size must be less than or equal to: [10000]
165 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.
195 0
why I cannot get any search result from P8F
why I cannot get any search result from P8F
100 0
why I cannot get any search result from P8F
|
Perl SQL 关系型数据库
[20160919]Result cache问题.txt
[20160919]Result cache问题.txt --看了链接http://blog.dbi-services.com/result-cache-side-effects-on-number-of-calls/,重复测试: SCOTT@book> @ &r...
792 0