aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Setup.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 3ac67e1c0..f8c14951b 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -407,6 +407,11 @@ class Setup extends \Zotlabs\Web\Controller {
function check_php(&$phpath, &$checks) {
$help = '';
+ if(version_compare(PHP_VERSION, '5.4') < 0) {
+ $help .= t('PHP version 5.4 or greater is required.');
+ $this->check_add($checks, t('PHP version'), false, false, $help);
+ }
+
if (strlen($phpath)) {
$passed = file_exists($phpath);
} else {