aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/common.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index d12966168b..70feb55d04 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -12,7 +12,7 @@
*/
/**
-* Minimum Requirement: PHP 5.3.9
+* Minimum Requirement: PHP 5.4.0
*/
if (!defined('IN_PHPBB'))
@@ -20,6 +20,11 @@ if (!defined('IN_PHPBB'))
exit;
}
+if (version_compare(PHP_VERSION, '5.4') < 0)
+{
+ die('You are running an unsupported PHP version. Please upgrade to PHP 5.4.0 or higher before trying to install or update to phpBB 3.2');
+}
+
require($phpbb_root_path . 'includes/startup.' . $phpEx);
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);