From eb55cdfb794c33acaca6b11edb46b12db08aa3ed Mon Sep 17 00:00:00 2001 From: 3Di Date: Thu, 21 Apr 2016 16:36:12 +0200 Subject: [PATCH 1/6] [ticket/14596] Deny installation of Ascraeus under PHP 7 PHPBB3-14596 --- phpBB/install/install_install.php | 2 +- phpBB/language/en/install.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 5b818f9475c..b7ca53598c3 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -154,7 +154,7 @@ function check_server_requirements($mode, $sub) // Test the minimum PHP version $php_version = PHP_VERSION; - if (version_compare($php_version, '5.3.3') < 0) + if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) { $result = '' . $lang['NO'] . ''; } diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index dd22e84fcb4..8dad00b4b57 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -300,11 +300,11 @@ 'PHP_REGISTER_GLOBALS' => 'PHP setting register_globals is disabled', '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 5.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' => 'PHP versions and settings', + 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least versions 5.3.3 and less than 7 of PHP in order to install phpBB Ascraeus (3.1.x). 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 >= 5.3.3', + 'PHP_VERSION_REQD' => 'PHP version >= 5.3.3, < 7', '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', From 0ad66d54c3028a6613c81f41f46bbdce8d30e548 Mon Sep 17 00:00:00 2001 From: 3Di Date: Fri, 22 Apr 2016 21:44:26 +0200 Subject: [PATCH 2/6] [ticket/14596] Deny installation of Ascraeus under PHP 7 PHPBB3-14596 --- phpBB/language/en/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index 8dad00b4b57..f92a8ab36e7 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -301,7 +301,7 @@ '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 versions and settings', - 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least versions 5.3.3 and less than 7 of PHP in order to install phpBB Ascraeus (3.1.x). 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 versions 5.3.3 of PHP (PHP 7 is not supported) 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 >= 5.3.3, < 7', From 72f0286743728f986b77628425bdb926c4a33019 Mon Sep 17 00:00:00 2001 From: 3Di Date: Fri, 22 Apr 2016 22:41:29 +0200 Subject: [PATCH 3/6] ticket/14596] Deny installation of Ascraeus under PHP PHPBB3-14596 --- phpBB/install/install_install.php | 2 +- phpBB/language/en/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index b7ca53598c3..528b786804a 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -151,7 +151,7 @@ function check_server_requirements($mode, $sub) 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); - // Test the minimum PHP version + // Test the minimum and maximum PHP versions $php_version = PHP_VERSION; if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index f92a8ab36e7..fe71d5b8e54 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -301,7 +301,7 @@ '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 versions and settings', - 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least versions 5.3.3 of PHP (PHP 7 is not supported) 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.3.3 of PHP (PHP 7 is not supported) 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 >= 5.3.3, < 7', From 9786b39612e76cd266cc8c27595257d52b27ce6a Mon Sep 17 00:00:00 2001 From: 3Di Date: Fri, 22 Apr 2016 22:57:50 +0200 Subject: [PATCH 4/6] ticket/14596] Deny installation of Ascraeus under PHP 7 PHPBB3-14596 --- phpBB/install/install_install.php | 2 +- phpBB/language/en/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 528b786804a..77b908d0ab0 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -151,7 +151,7 @@ function check_server_requirements($mode, $sub) 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); - // Test the minimum and maximum PHP versions + // Test the minimum and maximum versions of PHP $php_version = PHP_VERSION; if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index fe71d5b8e54..fe101e1b672 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -304,7 +304,7 @@ 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least version 5.3.3 of PHP (PHP 7 is not supported) 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 >= 5.3.3, < 7', + 'PHP_VERSION_REQD' => 'PHP version >= 5.3.3, < 7.0.0-dev', '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', From 60c199ae9dc109f87ef68678f6db03f3ed16693c Mon Sep 17 00:00:00 2001 From: 3Di Date: Fri, 22 Apr 2016 23:12:42 +0200 Subject: [PATCH 5/6] [ticket/14596] Deny installation of Ascraeus under PHP 7 PHPBB3-14596 --- phpBB/install/install_install.php | 2 +- phpBB/language/en/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 77b908d0ab0..19398c2e498 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -151,7 +151,7 @@ function check_server_requirements($mode, $sub) 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); - // Test the minimum and maximum versions of PHP + // Test the minimum and maximum PHP's versions $php_version = PHP_VERSION; if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index fe101e1b672..215cab07a03 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -304,7 +304,7 @@ 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least version 5.3.3 of PHP (PHP 7 is not supported) 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 >= 5.3.3, < 7.0.0-dev', + 'PHP_VERSION_REQD' => 'PHP versions: >= 5.3.3, < 7.0.0-dev', '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', From d8540fde72661518df38958dca93f1bb1bc19cdf Mon Sep 17 00:00:00 2001 From: 3Di Date: Fri, 22 Apr 2016 23:41:48 +0200 Subject: [PATCH 6/6] [ticket/14596] Deny installation of Ascraeus under PHP 7 PHPBB3-14596 --- phpBB/install/install_install.php | 2 +- phpBB/language/en/install.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 19398c2e498..b57a079f133 100644 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -151,7 +151,7 @@ function check_server_requirements($mode, $sub) 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); - // Test the minimum and maximum PHP's versions + // Test the minimum and maximum version of PHP $php_version = PHP_VERSION; if ((version_compare($php_version, '5.3.3') < 0) || (version_compare($php_version, '7.0.0-dev', '>='))) diff --git a/phpBB/language/en/install.php b/phpBB/language/en/install.php index 215cab07a03..bf5f10e11a7 100644 --- a/phpBB/language/en/install.php +++ b/phpBB/language/en/install.php @@ -304,7 +304,7 @@ 'PHP_SETTINGS_EXPLAIN' => 'Required - You must be running at least version 5.3.3 of PHP (PHP 7 is not supported) 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 versions: >= 5.3.3, < 7.0.0-dev', + 'PHP_VERSION_REQD' => 'PHP versions >= 5.3.3, < 7.0.0-dev', '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',