Jump to content

[Solved] Disable Automatically populating $HTTP_RAW_POST_DATA


smartmc

Recommended Posts

For a while now, I have been getting this error

[28-Jan-2018 00:19:44 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

I don't have access to the php.ini for my account, so I'd be great if you could disable that. I don't know if changing the setting applies to all users, but if so, I'll just suppress the warnings.

Thanks in advance :)

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Is the warning gone now?

No, it's still there. I've tried a couple of things like using

ini_set('always_populate_raw_post_data', '-1');

but to no avail.

 

Edit:

Determined that the ini_set failed, probably because of server restrictions

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...