$http_raw_post_data报错

  |   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

解决:

vim /usr/local/etc/php/5.6/php.ini

在703行中去掉逗号;就可以解决一下吧

always_populate_raw_post_data = -1