PHP Dependencies case sensitive in HHVM #8108
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
not-in-changelog
For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone
Hi,
I wanted to install Piwik on my machine running HHVM. I was very surprised when I saw that PDO and SPL were not active on my version.
However, after some checking, it seems that my version of HHVM (I do not know if this is common to all versions of HHVM or may occur with a standard PHP) returns both extensions in lowercase.
The problem is the in_array function that is used in the following files:
Moreover, it seems that HHVM does not support -1 for directive always_populate_raw_post_data (shown as boolean on http://docs.hhvm.com/manual/en/ini.core.php#ini.always-populate-raw-post-data, possibility of putting 0 but not -1, check is in plugins/Diagnostics/Diagnostic/DbAdapterCheck.php).
Thank you in advance for solving these problems,
Have a nice day.
The text was updated successfully, but these errors were encountered: