Update to php 5.6.0
This commit is contained in:
parent
8478b1416c
commit
504876cc21
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue