-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add check to see if PHP > 5.6 and always_populate_raw_post_data = -1 #1062
Conversation
@RMcLeod79 Thank you for your contribution! We will review the changes and process it internally through ticket MAGETWO-33491. |
We are currently processing this pull request and this should be available by end of this week. Thank you for your contribution! |
Add check to see if PHP > 5.6 and always_populate_raw_post_data = -1
Any news about this issue? I mean I installed latest version from Git and database connection test ajax request returns following:
|
Added this to the install guide: http://devdocs.magento.com/guides/v2.0/install-gde/prereq/php-ubuntu.html#instgde-prereq-timezone |
I think this option will be removed from upcoming PHP 7? |
Correct but I expect Magento will continue to support PHP 5.6 and until PHP 7 is released, it's not mentioned in the install guide at all. |
[Jackalopes] - Sprint 15 PR
Fix for issue #1057
$HTTP_RAW_POST_DATA has been deprecated in PHP 5.6 the ini setting is commented out by default however this causes PHP to throw an E_DEPRECATED notice whenever it receives post data that isn't
application/x-www-form-urlencoded
(e.g.application\json
).This is causing the database check to fail during Web Setup as Angular JS posts
application\json
by default. This fix checks the users PHP version and the value ofalways_populate_raw_post_data
and warns if they are using PHP >= 5.6.0 andalways_populate_raw_post_data
isn't explicitly set to -1