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
Piwik can’t be installed on PHP7 due to the removal of $HTTP_RAW_POST_DATA #8812
Comments
So it must be this file: https://github.com/piwik/piwik/blob/b95837534c6fc4c9dd63eef2c2e9d8bb343ca23e/plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php On my local machine I have the following setup:
So with PHP7, even with the value set to -1 in the .ini file, the check will never match. Indeed I’ve just tested the same code on a machine running PHP 5.6.13 and get:
|
Made a PR #8823 to hopefully fix this |
Thanks for the report. will be fixed in #8706 |
fixed in latest Piwik beta - can you try again? http://piwik.org/faq/how-to-update/faq_159/ please post post your feedback re: PHP7 in: #8689 |
Hello, Thanks ! |
Yes this is merged and Piwik is supposed to be fully working on PHP 7. |
@tsteur : Thanks for your answer. |
In particular I think what that means is
ini_get('always_populate_raw_post_data')
returns a bool value of false even if thephp.ini
contains the linealways_populate_raw_post_data = -1
.So now the installer won’t let me get past the system check screen and is telling me to add the aforementioned line to my
.ini
file. In fact it already is!The text was updated successfully, but these errors were encountered: