I'm trying to install Magento 2.1.1 on unix server but when it does system check I keep on getting following error message and application will not install.
Your PHP Version is 5.6.22, 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.
Configuration File (php.ini) Path
Loaded Configuration File
Scan this dir for additional .ini files
Additional .ini files parsed
I don't have access to the directories
/opt/alt/php56/etc, apart from that in the php info file a
lways_populate_raw_post_data is set to -1 for Local Value as well as Master Value.
The Loaded Configuration File
php.ini was created by myself and and placed in public_html folder. It contains:
always_populate_raw_post_data = -1;
But it is not solving problem. I don't know how the installer is coming up with
always_populate_raw_post_data = 0 when it is not set to that value anywhere. Any suggestion as to what I should do to solve problem? All help will be greatly appreciated.