PHP开发遇到错误0001
一、错误信息:
1 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
二、解决方法:
1 ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is 2 ; to disable this feature and it will be removed in a future version. 3 ; If post reading is disabled through enable_post_data_reading, 4 ; $HTTP_RAW_POST_DATA is *NOT* populated. 5 ; http://php.net/always-populate-raw-post-data 6 always_populate_raw_post_data = -1
三、参考: