Mautic Community Forums

error "HTTP_RAW_POST_DATA is deprecated"

Hi everybody,



I have this error in my error_log. I changed the php.ini as indicated a week ago but I still have this message. Any idea ?



[2016-05-25 10:18:40] mautic.ERROR: Fatal: 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 file Unknown - at line 0 [] []

Hi everybody,

I have this error in my error_log. I changed the php.ini as indicated a week ago but I still have this message. Any idea ?

[2016-05-25 10:18:40] mautic.ERROR: Fatal: 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 file Unknown - at line 0 [] []

I got the same thing…

Yes it is the good php.ini file and modified as the message said

my php.ini

; Always populate the $HTTP_RAW_POST_DATA variable.
always_populate_raw_post_data = Off