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 the 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.
always_populate_raw_post_data=-1
inphp.ini
, Are you restart Apache2 ?php.ini
inetc/php5/apache2
and havealways_populate_raw_post_data 1
php.ini
incorrect. You need usingphpinfo()
find path correct