'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,如需转载请自行联系原作者
目录
相关文章
使用result类一定要添加@Data注解“timestamp“:“2023-09-07T07:57:57.497+00:00““status“: 406,No acceptable repre
使用result类一定要添加@Data注解“timestamp“:“2023-09-07T07:57:57.497+00:00““status“: 406,No acceptable repre
|
4月前
|
JavaScript
Component name “header“ should always be multi-word
Component name “header“ should always be multi-word
|
5月前
|
关系型数据库 MySQL Linux
FATAL ERROR: Could not find my_print_defaults
FATAL ERROR: Could not find my_print_defaults
164 0
|
6月前
|
IDE 开发工具 Android开发
Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo
Couldn‘t get post build model. Module:UpdateService_0804.main Variant: debugOpen logcat panel fo
76 0
|
6月前
random.sample(population, k)
random.sample(population, k)
40 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解决方法
686 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.
203 0
|
JavaScript
认识 Express 的 res.send() 和 res.end()
在使用 Node.js 的服务端代码中,如果使用的是 Express 框架,那么对于一个请求,常常会有两种响应方式:
382 0
认识 Express 的 res.send() 和 res.end()
未解决: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.
481 0
|
物联网 测试技术 索引
[20180609]Wrong Results with IOT, Added Column and Secondary Index2.txt
[20180609]Wrong Results with IOT, Added Column and Secondary Index2.txt --//链接:http://db-oriented.
1144 0