Jump to content

[Solved] Disable Automatically populating $HTTP_RAW_POST_DATA


Recommended Posts

Posted

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 :)

  • 2 weeks later...
Posted

Which version of php are you using?

Sorry for late reply, I believe I am running PHP 7.2 (ea-php72)

  • 3 weeks later...
Posted

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

Posted

Can you check your php version, because it's definitely disabled in php 7.2?

php-version.png

unless I'm very wrong, that's php 7.2, isn't it?

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