Magento – Error during installing Magento 2

magento2

I am installing Magento 2 on Bitnami WAMP Stack. However, soon after starting the installation it throws a list of errors and I am unable to fix this one:

PHP Settings Check
Your PHP Version is 5.6.20, but always_populate_raw_post_data = 0. $HTTP_RAW_POST_DATA is deprecated from PHP 5.6 onwards and will be removed in PHP 7.0. This will stop the installer from running. Please open your php.ini file and set always_populate_raw_post_data to -1. If you need more help please call your hosting provider.

I have checked the php.ini but the always_populate_raw_post_data is already set -1.

I also ran php.info, it shows this:
enter image description here

Where's the problem?

Best Answer

Well making changes in the php.ini or adding php parameter in the .htaccess didn't resolve my issue .
I created .user.ini file on the web directory root and added this : always_populate_raw_post_data = -1

Volla! issue was resolved. Let me know if you guys have any question.

Related Topic