PHP always_populate_raw_post_data

php

#1

Hi guys,

Im struggling with this error on php 5.6.22

Exception: JSON Encoding / Decoding error: Syntax error, invalid JSON'<br />
<b>Deprecated</b>:  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 <b>Unknown</b> on line <b>0</b>

I have tried everything, setting the value to 1, 0, -1 at /opt/circleci/php/5.6.22/etc/conf.d/deprecated.ini but nothing helps.

Anyone faced this in the past?


#2