installation of magento 2.1.1 fails
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.
After using:
phpinfo();
I get:
Configuration File (php.ini) Path /opt/alt/php56/etc
Loaded Configuration File /home/some9753/public_html/php.ini
Scan this dir for additional .ini files /opt/alt/php56/link/conf
Additional .ini files parsed /opt/alt/php56/link/conf/alt_php.ini
I don't have access to the directories /opt/alt/php56/etc, apart from that in the php info file always_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.