1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/17176] Update minimum PHP version to 8.1

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-08-19 13:51:41 +02:00
parent 66b54d4469
commit 97fa5d2784
3 changed files with 6 additions and 6 deletions

View File

@@ -23,11 +23,11 @@ $level = E_ALL & ~E_NOTICE & ~E_DEPRECATED;
error_reporting($level);
/**
* Minimum Requirement: PHP 7.3.0
* Minimum Requirement: PHP 8.1.0
*/
if (version_compare(PHP_VERSION, '7.3.0', '<'))
if (version_compare(PHP_VERSION, '8.1.0', '<'))
{
die('You are running an unsupported PHP version (' . PHP_VERSION . '). Please upgrade to PHP 7.3.0 or higher before trying to install or update to phpBB 4.0');
die('You are running an unsupported PHP version (' . PHP_VERSION . '). Please upgrade to PHP 8.1.0 or higher before trying to install or update to phpBB 4.0');
}
// In PHP 5.3.0 the error level has been raised to E_WARNING which causes problems