Update to php 5.6.0

This commit is contained in:
Tim 2020-05-01 01:12:33 +02:00 committed by GitHub
parent 8478b1416c
commit 504876cc21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -75,11 +75,11 @@ class InstallController extends AbstractController
$phpv = phpversion();
if (
version_compare($phpv, '5.5.9', '<') ||
version_compare($phpv, '5.6.0', '<') ||
(version_compare($phpv, '7.0.8', '<') && version_compare($phpv, '7.0.0', '>='))
) {
$errors++;
$this->addMessage('PHP 5.5.9+ or 7.0.8+ is required to run PHP Server Monitor. You\'re using ' .
$this->addMessage('PHP 5.6.0+ or 7.0.8+ is required to run PHP Server Monitor. You\'re using ' .
$phpv . '.', 'error');
} else {
$this->addMessage('PHP version: ' . $phpv, 'success');