Expected behavior? Error on startup because local value is ignored

17 views
Skip to first unread message

mariondorsett

unread,
Nov 1, 2018, 5:15:29 PM11/1/18
to Fat-Free Framework
I'm getting this error on a POST request w/ PHP 5.6.30

Fatal error: 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.

I set the value using the .user.ini file, and when I run phpinfo() it's showing the local value has changed to -1 and the master value is still set at 0, but the error is still there :(

Is this expected behavior?  Is there any way to have Fat-Free recognize the local values set by the .user.ini file vs the master php.ini file since I can't change that?

ikkez

unread,
Nov 1, 2018, 8:48:02 PM11/1/18
to Fat-Free Framework
it's a php config issue, not really F3 related.. F3 only tells you that the error already happened upon start. If you dont want to get startup errors, change the error level before including the base.php or suppress it with @
Reply all
Reply to author
Forward
0 new messages