- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
Please help.
I have bin in contact with my host and they did all this things you tried but I can`t get true the error message for: always_populate_raw_post_data = -1
Any ideas what it could be?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
Note: I worked on a local install.
After trying every tip I could find, and verifying through phpinfo that always_populate_raw_post_data had indeed been set to -1, the thing that worked for me was modifying the .htaccess by adding the following to the end:
<IfModule mod_php5.c>
php_value always_populate_raw_post_data -1
</IfModule>
Note that this uses php_value rather than php_flag.
cf. commenter darekk on the Magento stack exchange
http://magento.stackexchange.com/questions/93465/set-always-populate-raw-post-data-to-1-doesnt-work
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
I am using Plesk to manage the hosting space. I added always_populate_raw_post_data = -1 to the PHP settings in "Additional configuration directives" and that fixed it for me :-)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
ok the part i figured no one made clear to most..... Uncommenting means remove the ";" colon symbol from in front of the line. took me hours to figure uncommenting without learning php!!!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
You need to open php.ini as an administrator, after that to change all you need in the file and after that restart the server.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
I installed PHP7 and it is all solved now!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
i have some problem
http://awesomescreenshot.com/0e962339ca
http://screencast.com/t/Fqb9vhGvDwbJ
Please help
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings and version Check magento 2 error
I have resolved this error by modifying some code at
1) D:\xampp\htdocs\m2\app\bootstrap.php
add you php version in first if condition like
if (!defined('PHP_VERSION_ID') || !(PHP_VERSION_ID >= 50600 && PHP_VERSION_ID < 50700 || PHP_VERSION_ID === 70002 || PHP_VERSION_ID === 70004 || PHP_VERSION_ID >= 70006)) {
2) D:\xampp\htdocs\m2\setup\src\Magento\Setup\Model\PhpReadinessCheck.php
Go to checkPhpVersion() function and comment below line
//if (!$multipleConstraints->matches($currentPhpVersion)) {
// $responseType = ResponseTypeInterface::RESPONSE_TYPE_ERROR;
//}
Note: after you completed your installation just remove comments.
This solution work for me and Let me know if you still facing error.
Thanks,
Nits
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
I also encountered a similar situation
Your help is really helpful to me
thank you
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: PHP Settings Check magento 2 error
this works kidos