'always_populate_raw_post_data' to '-1'

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了'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


本文出自 “每天进步一点点” 博客,请务必保留此出处http://zuoshou.blog.51cto.com/2579903/1958130

以上是关于'always_populate_raw_post_data' to '-1'的主要内容,如果未能解决你的问题,请参考以下文章

__FILE__ $_SERVER['PHP_SELF'] $_SERVER['SCRIPT_NAME'] $_SERVER['SCRIPT_FILEN

AttributeError:模块'tensorflow'没有属性'__version __'

C语言error: expected '=', ',', ';', 'asm' or '__attribute__' b

python flask框架不执行if __name__ == '__main__'

python 队列queue get方法会删除取出的元素吗

__formart__