fix install-requirement messages for php

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-18 21:14:06 +01:00
parent 36dbb3bdcc
commit 06f77b41fd
4 changed files with 7 additions and 6 deletions

View File

@@ -1143,7 +1143,7 @@ class FroxlorInstall
$check['result_txt'] = $this->_lng['requirements']['notfound'] . ' (' . PHP_VERSION . ')';
$_die = true;
} else {
if (version_compare("7.4.0", PHP_VERSION, ">=")) {
if (version_compare("8.0.0", PHP_VERSION, ">=")) {
$check['result'] = 2;
$check['result_txt'] = $this->_lng['requirements']['newerphpprefered'] . ' (' . PHP_VERSION . ')';
} else {