Page 1 of 1

php error flooding logs

Posted: 2016-06-22 00:04
by grimblefritz
Just a heads up. I just upgrade to PHP 5.6 on my host, and now get this message flooding the logs:

[21-Jun-2016 16:17:47 US/Eastern] 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

Per the PHP docs, $HTTP_RAW_POST_DATA is deprecated as of 5.6.0 and removed in 7.0. It's coming from ci_input.php

It might be worth switching to the new method soonest.

Meanwhile, I get nice fat logs.

Re: php error flooding logs

Posted: 2016-06-23 21:17
by a.gneady
Thanks for the heads-up :)
AppGini doesn't make use of $HTTP_RAW_POST_DATA so it's safe to disable it.

Re: php error flooding logs

Posted: 2016-06-30 14:09
by grimblefritz
AppGini might not use it, but it is coming from the codeigniter ci_input.php. Maybe they'll clean up their code.