diff --git a/phpBB/includes/startup.php b/phpBB/includes/startup.php index 5ead3b7fbb..57e4825131 100644 --- a/phpBB/includes/startup.php +++ b/phpBB/includes/startup.php @@ -27,7 +27,7 @@ error_reporting($level); */ if (version_compare(PHP_VERSION, '7.1.3', '<')) { - die('You are running an unsupported PHP version. Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3'); + die('You are running an unsupported PHP version (' . PHP_VERSION . '). Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3'); } // Register globals and magic quotes have been dropped in PHP 5.4 so no need for extra checks diff --git a/phpBB/install/app.php b/phpBB/install/app.php index bf2c81bfcc..0cb2ead92a 100644 --- a/phpBB/install/app.php +++ b/phpBB/install/app.php @@ -22,7 +22,7 @@ $phpEx = substr(strrchr(__FILE__, '.'), 1); if (version_compare(PHP_VERSION, '7.1.3', '<')) { - die('You are running an unsupported PHP version. Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3'); + die('You are running an unsupported PHP version (' . PHP_VERSION . '). Please upgrade to PHP 7.1.3 or higher before trying to install or update to phpBB 3.3'); } $startup_new_path = $phpbb_root_path . 'install/update/update/new/install/startup.' . $phpEx;