diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-23 20:48:30 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-23 20:48:30 +0000 |
commit | 03956bca9734a571dd3537cc373a207c93c1cf72 (patch) | |
tree | 4ffc9d30ef894ed14273f3e086799d21fe048dc0 /phpBB/install/index.php | |
parent | a27ce549bd66654e2a95d67922e945ba9d438ee4 (diff) | |
download | forums-03956bca9734a571dd3537cc373a207c93c1cf72.tar forums-03956bca9734a571dd3537cc373a207c93c1cf72.tar.gz forums-03956bca9734a571dd3537cc373a207c93c1cf72.tar.bz2 forums-03956bca9734a571dd3537cc373a207c93c1cf72.tar.xz forums-03956bca9734a571dd3537cc373a207c93c1cf72.zip |
Try to at least give very old PHP versions a reason why they can't do anything
We might review this again later to try and find the reason they were getting a blank page, but given the age of 4.2.x, there hopefully won't be too many people still running it
git-svn-id: file:///svn/phpbb/trunk@6120 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/index.php')
-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 |