always_populate_raw_post_data

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

Warning: Cannot modify header information - headers already sent in Unknown on line 0

 

 

打开php.ini   搜索   always_populate_raw_post_data


;always_populate_raw_post_data = -1

改成

always_populate_raw_post_data = -1

就是去掉 ;  就这么简单

posted @ 2018-07-10 11:16  狼人杀  阅读(2975)  评论(0编辑  收藏  举报