Magento – Cannot correct php.ini error in Magento 2.0.2

magento2PHP

Hello I'm using the latest magento source files from magento website. I've installed the files via directions on the support documentation of magento website and at the Readiness Check point i get the follwing errors:

our PHP Version is 5.6.14, 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.

all other php checks are correct.
Rediness Check Results

When I begin to debug the error with trying to find the php.ini file. I have:

  1. Created the phpinfo.php page to determine where the php.ini file is located.

    I get this information location of php.ini file

2. I CANNOT FIND THE PATH FOR /opt/php56/lib/php.ini

Best Answer

edit php.ini

find
always_populate_raw_post_data = On

change to
always_populate_raw_post_data = -1

close web page.. restart xampp or wamp

Related Topic