When passing parameters by the POST method, this notification comes
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
In stackoverflow , there is already a mention of this problem, but for some reason left unattended: Configuring always_populate_raw_post_data
Nowhere can I find an explanatory explanation for this. I only know that Deprecated is not an error, but a warning that in future versions of PHP this functionality can be removed. This does not affect the work of the script. But still ... What to do next?
$postdata = file_get_contents("php://input");did not try to use? php.net/manual/ru/wrappers.php.php#wrappers.php.input - Visman