set 'always_populate_raw_post_data = -1' to Laravel php ini
I have this error on my AJAX request, please refer below.
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
Warning: Cannot modify header information - headers already sent in Unknown on line 0
is there a way I could touch the Laravel's php ini to set 'always_populate_raw_post_data = -1' as the warning instructed? I usually use "php artisan serve" all the time to run my app so I guess I should set the 'always_populate_raw_post_data = -1' to my Laravel's php ini. Any ideas, help will be greatly appreciated. Thanks in advance.