Using PHP 5.6.2 on MAMP. I upgraded Laravel from 4.1 to 4.2, after fixing some errors and changes as described in Laravel's upgrade docs, I finally get this 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."
Why is that? Where should I change any code? I am not using $HTTP_RAW_POST_DATA
anywhere in my code.
I also changed my php.ini as stated, same error... How can I solve this?
The solution to this problem was editing the right php.ini
. Then everything worked.
Please use :
Content-Type = application/x-www-form-urlencoded
To solve this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With