From 446ae115ea089e7931453db4f2983f0c676307df Mon Sep 17 00:00:00 2001 From: Pepijn Over Date: Sat, 12 Apr 2014 11:58:52 +0200 Subject: [PATCH] issue #56: minimum version required is PHP 5.3.7 --- CHANGELOG.rst | 1 + src/psm/Module/Install/Controller/InstallController.class.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5809e6b6..d1cf80f0 100755 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,7 @@ Changelog not yet released ---------------- +* #56: Minimum PHP version is PHP 5.3.7 (not PHP 5.3.0). * #57: Added Chinese translation. * #58: Server order on users page now matches the order on servers page. * #59: Warning threshold ignored for notification trigger. diff --git a/src/psm/Module/Install/Controller/InstallController.class.php b/src/psm/Module/Install/Controller/InstallController.class.php index 8deaec84..7b4006f7 100644 --- a/src/psm/Module/Install/Controller/InstallController.class.php +++ b/src/psm/Module/Install/Controller/InstallController.class.php @@ -88,9 +88,9 @@ class InstallController extends AbstractController { $errors = 0; $phpv = phpversion(); - if(version_compare($phpv, '5.3.0', '<')) { + if(version_compare($phpv, '5.3.7', '<')) { $errors++; - $this->addMessage('PHP 5.3+ is required to run PHP Server Monitor.', 'error'); + $this->addMessage('PHP 5.3.7+ is required to run PHP Server Monitor.', 'error'); } else { $this->addMessage('PHP version: ' . $phpv, 'success'); }