错误:项目中遇到PHP返回json数据报错,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
解决方法:修改php.ini文件,将always_populate_raw_post_data前边的分号去掉。