开发者社区> 余二五> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

'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,如需转载请自行联系原作者

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
JavaWeb - No URLs will be polled as dynamic configuration sources
JavaWeb - No URLs will be polled as dynamic configuration sources
159 0
Why UI correction note always has a big static size
Why UI correction note always has a big static size
49 0
web pack 在js区分是 run dev还是 run build
package.json 配置 cross-env NODE_ENV=production "build": "cross-env NODE_ENV=production webpack --progress -...
994 0
Python crawler access to web pages the get requests a cookie
Python in the process of accessing the web page,encounter with cookie,so we need to get it. cookie in Python is form of a dictionary exists ,so coo...
1247 0
打印分页css样式,style="page-break-after:always;"
style="page-break-after:always;" 今天客人反映说IE7打印不到Receipt内容,打印出来是空白的,而IE8下没有问题。
882 0
+关注
文章
问答
文章排行榜
最热
最新
相关电子书
更多
Semantic Search--Fast Results from Large,Foreign Language Corpora
立即下载
Multi-label Graaph Analysis an
立即下载
AutoAlerts-From Data to Action
立即下载