You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After being fixed in #5263, the issue appears again in Piwik 2.6.1. findPhpBinary() incorrectly returns PHP_BINARY . ' -q' for hhvm because isValidPhpType() is true for /usr/bin/hhvm.
To workaround this issue I currently changed the order of checking isValidPhpType() and isHhvmBinary()
publicfunction findPhpBinary()
{
if (defined('PHP_BINARY')) {
// check hhvm firstif($this->isHhvmBinary(PHP_BINARY)) {
returnPHP_BINARY . ' --php';
}
// if not hhvm it shall not be fpm cgi or phpunitif($this->isValidPhpType(PHP_BINARY)) {
returnPHP_BINARY . ' -q';
}
}
# ...
The text was updated successfully, but these errors were encountered:
After being fixed in #5263, the issue appears again in Piwik 2.6.1.
findPhpBinary()
incorrectly returnsPHP_BINARY . ' -q'
for hhvm becauseisValidPhpType()
is true for /usr/bin/hhvm.To workaround this issue I currently changed the order of checking
isValidPhpType()
andisHhvmBinary()
The text was updated successfully, but these errors were encountered: