issue #56: minimum version required is PHP 5.3.7

This commit is contained in:
Pepijn Over 2014-04-12 11:58:52 +02:00
parent 6655f990b0
commit 446ae115ea
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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');
}