diff options
-rwxr-xr-x | phpBB/install/index.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 7d6d1beb2b..15e6f6aa6f 100755 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -19,6 +19,12 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1); // Report all errors, except notices error_reporting(E_ALL ^ E_NOTICE); +// @todo Review this test and see if we can find out what it is which prevents PHP 4.2.x from even displaying the page with requirements on it +if (version_compare(phpversion(), '4.3.0') < 0) +{ + die('You are running an unsupported PHP version. Please upgrade to PHP 4.3.3 or higher before trying to install phpBB 3.0'); +} + /* * Remove variables created by register_globals from the global scope * Thanks to Matt Kavanagh |