PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated

具体报错内容如下(php版本5.6)

PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and wlaoji.orgill 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

解决方法:

开启php.ini中的如下配置

always_populate_raw_post_data = -1

如图

QQ截图20170607153902.png

搬瓦工,CN2高速线路,1GB带宽,电信联通优化KVM,延迟低,速度快,建站稳定,搬瓦工BandwagonHost VPS优惠码BWH26FXH3HIQ,支持<支付宝> 【点击购买】!

Vultr月付$3.5日本节点,512M内存/500G流量/1G带宽,电信联通优化,延迟低,速度快注册即送$50点击购买】!

阿里云香港、新加坡VPS/1核/1G/25G SSD/1T流量/30M带宽/年付¥288【点击购买】

腾讯云云产品特惠三折起【点击购买】

搬瓦工1111特惠,年付$29.882核CPU/2048MB内存/1TB流量/1GB带宽,随意切换机房KVM,延迟低,速度快,建站稳定,搬瓦工BandwagonHost VPS优惠码BWH26FXH3HIQ,支持<支付宝> 【点击购买】!

PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated

发表评论

电子邮件地址不会被公开。 必填项已用*标注

滚动到顶部