-
phpBB is no longer supported on PHP3 due to several compatibility issues and we recommend that you upgrade to the latest stable release of PHP5 to run phpBB. The minimum version required is PHP 4.3.3.
+
phpBB is no longer supported on PHP4 due to several compatibility issues and we recommend that you upgrade to the latest stable release of PHP5 to run phpBB. The minimum version required is PHP 5.2.0.
Please remember that running any application on a developmental version of PHP can lead to strange/unexpected results which may appear to be bugs in the application (which may not be true). Therefore we recommend you upgrade to the newest stable version of PHP before running phpBB3. If you are running a developmental version of PHP please check any bugs you find on a system running a stable release before submitting.
-
This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MSSQL Server 2000, PostgreSQL 7.x, Oracle 8, SQLite and Firebird. Versions of PHP used range from 4.3.3 to 6.0.0-dev without problem.
+
This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MSSQL Server 2000, PostgreSQL 7.x, Oracle 8, SQLite and Firebird. Versions of PHP used range from 5.2.0 to 5.3.x without problem.
7.i. Notice on PHP security issues
diff --git a/phpBB/docs/coding-guidelines.html b/phpBB/docs/coding-guidelines.html
index 8365e3c301..12cbbc2caa 100644
--- a/phpBB/docs/coding-guidelines.html
+++ b/phpBB/docs/coding-guidelines.html
@@ -2362,7 +2362,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
...
-'FOO_BAR' => 'PHP version < 4.3.3.<br />
+'FOO_BAR' => 'PHP version < 5.2.0.<br />
Visit "Downloads" at <a href="http://www.php.net/">www.php.net</a>.',
...
@@ -2371,7 +2371,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
...
-'FOO_BAR' => 'PHP version < 4.3.3.<br />
+'FOO_BAR' => 'PHP version < 5.2.0.<br />
Visit "Downloads" at <a href="http://www.php.net/">www.php.net</a>.',
...
@@ -2380,7 +2380,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
...
-'FOO_BAR' => 'PHP version < 4.3.3.<br />
+'FOO_BAR' => 'PHP version < 5.2.0.<br />
Visit “Downloads” at <a href="http://www.php.net/">www.php.net</a>.',
...
diff --git a/phpBB/install/index.php b/phpBB/install/index.php
index e8a63e857e..cd3c8fbaa8 100644
--- a/phpBB/install/index.php
+++ b/phpBB/install/index.php
@@ -18,10 +18,9 @@ define('IN_INSTALL', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
-// @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(PHP_VERSION, '4.3.3') < 0)
+if (version_compare(PHP_VERSION, '5.2.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');
+ die('You are running an unsupported PHP version. Please upgrade to PHP 5.2.0 or higher before trying to install phpBB 3.1');
}
function phpbb_require_updated($path, $optional = false)
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index e18ed43778..e36fc1c618 100644
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -141,7 +141,7 @@ class install_install extends module
// Test the minimum PHP version
$php_version = PHP_VERSION;
- if (version_compare($php_version, '4.3.3') < 0)
+ if (version_compare($php_version, '5.2.0') < 0)
{
$result = '
' . $lang['NO'] . '';
}
diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php
index bc5a3ab936..2859b05909 100644
--- a/phpBB/language/en/install.php
+++ b/phpBB/language/en/install.php
@@ -300,10 +300,10 @@ $lang = array_merge($lang, array(
'PHP_REGISTER_GLOBALS_EXPLAIN' => 'phpBB will still run if this setting is enabled, but if possible, it is recommended that register_globals is disabled on your PHP install for security reasons.',
'PHP_SAFE_MODE' => 'Safe mode',
'PHP_SETTINGS' => 'PHP version and settings',
- 'PHP_SETTINGS_EXPLAIN' => '
Required - You must be running at least version 4.3.3 of PHP in order to install phpBB. If
safe mode is displayed below your PHP installation is running in that mode. This will impose limitations on remote administration and similar features.',
+ 'PHP_SETTINGS_EXPLAIN' => '
Required - You must be running at least version 5.2.0 of PHP in order to install phpBB. If
safe mode is displayed below your PHP installation is running in that mode. This will impose limitations on remote administration and similar features.',
'PHP_URL_FOPEN_SUPPORT' => 'PHP setting
allow_url_fopen is enabled',
'PHP_URL_FOPEN_SUPPORT_EXPLAIN' => '
Optional - This setting is optional, however certain phpBB functions like off-site avatars will not work properly without it.',
- 'PHP_VERSION_REQD' => 'PHP version >= 4.3.3',
+ 'PHP_VERSION_REQD' => 'PHP version >= 5.2.0',
'POST_ID' => 'Post ID',
'PREFIX_FOUND' => 'A scan of your tables has shown a valid installation using
%s as table prefix.',
'PREPROCESS_STEP' => 'Executing pre-processing functions/queries',