We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As reported on a StackOverflow question, Piwik complains that PHP 5.3.3 is not greater than required PHP 5.3.3.
Here is the comparison function:
$piwik_minimumPHPVersion = '5.3.3'; $piwik_currentPHPVersion = PHP_VERSION; $minimumPhpInvalid = version_compare($piwik_minimumPHPVersion, $piwik_currentPHPVersion) > 0;
version_compare will return 0 if both versions are equal, which explains it I guess. Easy fix would be to replace > by >=: I will do it soon.
version_compare
0
>
>=
The text was updated successfully, but these errors were encountered:
6c1a90f
Revert "Fixes #6595 Test of the minimum PHP version"
e1fd9be
This reverts commit 6c1a90f.
Why was this reverted?
Sorry, something went wrong.
Because I thought it was this bit of code but it wasn't ;) It was actually fixed in f5c50e0
mnapoli
No branches or pull requests
As reported on a StackOverflow question, Piwik complains that PHP 5.3.3 is not greater than required PHP 5.3.3.
Here is the comparison function:
version_compare
will return0
if both versions are equal, which explains it I guess. Easy fix would be to replace>
by>=
: I will do it soon.The text was updated successfully, but these errors were encountered: