cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Settings Check magento 2 error

SOLVED

Re: PHP Settings Check magento 2 error

Same here? Using MAMP and this

 

; Always populate the $HTTP_RAW_POST_DATA variable.
always_populate_raw_post_data = -1

 

Does not work.

Re: PHP Settings Check magento 2 error

I succeed to make it work!!!!!

 

So you need to modify the php.ini file in

 

/Application/MAMP/bin/php/php5.6.10/conf/php.ini and not in the folder /Application/MAMP/conf...

Re: PHP Settings Check magento 2 error

Had same problems : config shows -1, but readiness check insists on 0.

Wasted all day nothing worked.

After fresh install of 2.0.1 problem gone.

Re: PHP Settings Check magento 2 error

Same here. php.ini is set to -1 and still getting the error. Guess I'll just do a fresh install.

Re: PHP Settings Check magento 2 error

Hi,

same problem here.

first try it was 0, but since then i changed it...

phpinfo says it is on -1 but the checker still displays the error.

seems to be a bug.

setup via console doesn't work also

Re: PHP Settings Check magento 2 error

Have you tried clearing the browser cache too? For some reason the install "remembers" the installation params etc.

I didn't get this exact problem but had a similar one, which was resolved by clearing the cache.

Don't know if it's an option but could you try with PHP7? the always_populate_raw_post_data doesn't exist in PHP7.

Re: PHP Settings Check magento 2 error

Hi I found that by adding php_value always_populate_raw_post_data -1 to the .htaccess file in the magento install folder the error went away. I changed it so it read like this....

 

<IfModule mod_php5.c>

############################################
## adjust memory limit

php_value memory_limit 768M
php_value max_execution_time 18000
php_value always_populate_raw_post_data -1

 

Hope this works for someone also.

Re: PHP Settings Check magento 2 error

this worked for me. Added then restarted Apache in Xampp

Re: PHP Settings Check magento 2 error

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.

Re: PHP Settings Check magento 2 error

thank you ,it works Smiley Happy