diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-15 15:51:24 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-20 21:23:40 +0100 |
commit | d0724063c4b144902eab36e98b4f0d5cce443152 (patch) | |
tree | f8249f9aa2b34a5e7d1f1eabf5e80a7be4d9e107 /phpBB/install | |
parent | aa9da98e8a0d3a784bfe84156ef4322daf38b356 (diff) | |
download | forums-d0724063c4b144902eab36e98b4f0d5cce443152.tar forums-d0724063c4b144902eab36e98b4f0d5cce443152.tar.gz forums-d0724063c4b144902eab36e98b4f0d5cce443152.tar.bz2 forums-d0724063c4b144902eab36e98b4f0d5cce443152.tar.xz forums-d0724063c4b144902eab36e98b4f0d5cce443152.zip |
[ticket/11076] Also add notice about unsupported version to installer
PHPBB3-11076
Diffstat (limited to 'phpBB/install')
-rw-r--r-- | phpBB/install/app.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/install/app.php b/phpBB/install/app.php index 9664f92cf1..ef59689a65 100644 --- a/phpBB/install/app.php +++ b/phpBB/install/app.php @@ -20,6 +20,11 @@ define('PHPBB_ENVIRONMENT', 'production'); $phpbb_root_path = '../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); +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'); +} + $startup_new_path = $phpbb_root_path . 'install/update/update/new/install/startup.' . $phpEx; $startup_path = (file_exists($startup_new_path)) ? $startup_new_path : $phpbb_root_path . 'install/startup.' . $phpEx; require($startup_path); |