Warning about `$HTTP_RAW_POST_DATA` being deprecated

Receive error in your error_log on Automatically populating $HTTP_RAW_POST_DATA is deprecated

===

[08-Apr-2018 23:05:29 UTC] 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
[08-Apr-2018 23:05:34 UTC] 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
[08-Apr-2018 23:05:37 UTC] 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
[08-Apr-2018 23:05:40 UTC] 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

===

Error message that found in your Error_log on your File Manager.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

Access your Cpanel and search for “ini” which will search result of MultiPHP INI Editor, click and access into it.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

In your MultiPHP INI Editor, click Editor Mode.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

Click the drop-down menu and select your domain name.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

Just below the empty new line, insert the coding show below.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

Insert into PHP INI Editor Mode Setting

always_populate_raw_post_data = -1

It should look like this, click save.
Warning about `$HTTP_RAW_POST_DATA` being deprecated

That’s all.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll Up