I got a big problem. When I first installed magento I got the error set always_populate_raw_post_data to -1, which I did and it worked.
Now I am trying to install some sample data into magento and for that I need to install plugin called Magento_CatalogSampleData. So when I am trying to install it I get the same error again that I got during the installation of the Magento application always_populate_raw_post_data to -1.
I have set it to always_populate_raw_post_data -1, both in the php.ini but also added php_value always_populate_raw_post_data -1 in the Apache2 config. But still get the same error during the readiness check.
How to solve this, I have no clue?
I have already changed the php.ini in etc/php5/apache2 and have always_populate_raw_post_data 1 and also restarted the apache2 service but still, does not work...