From c2ba77b70bba5ab8ac57aedc50829e8a81f8c581 Mon Sep 17 00:00:00 2001 From: Damien Regad Date: Mon, 7 Aug 2023 15:16:53 +0200 Subject: [PATCH] Update minimum PHP version to 7.4.0 Fixes #32808 --- .travis.yml | 2 -- README.md | 2 +- composer.json | 4 ++-- core/constant_inc.php | 2 +- docbook/Admin_Guide/en-US/Installation.xml | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 995291c420..bf6a3c3fa2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,8 +43,6 @@ php: - 8.1 - 8.0 - 7.4 - - 7.3 - - 7.2 env: - DB=mysql diff --git a/README.md b/README.md index 4cdbb98d02..0c278d3122 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Requirements ------------ * MySQL 5.5.35+, PostgreSQL 9.2+, or other supported database -* PHP 7.2.5+ +* PHP 7.4.0+ * a webserver (e.g. Apache or IIS) Please refer to section 2.2 in the administration guide for further details. diff --git a/composer.json b/composer.json index 92dadfd3f3..518f7f172e 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Mantis Bug Tracker", "type": "project", "require": { - "php": "^7.2.5 || ^8.0", + "php": "^7.4 || ^8.0", "ext-mbstring": "*", "ext-json": "*", "slim/slim": "^3.0", @@ -36,7 +36,7 @@ ], "config": { "platform": { - "php": "7.2.5" + "php": "7.4.0" } } } diff --git a/core/constant_inc.php b/core/constant_inc.php index 6ef7cefb86..b96f30b630 100644 --- a/core/constant_inc.php +++ b/core/constant_inc.php @@ -35,7 +35,7 @@ define( 'WARN', 2 ); # PHP-related constants -define( 'PHP_MIN_VERSION', '7.2.5' ); +define( 'PHP_MIN_VERSION', '7.4.0' ); define( 'PHP_CLI', 0 ); define( 'PHP_CGI', 1 ); diff --git a/docbook/Admin_Guide/en-US/Installation.xml b/docbook/Admin_Guide/en-US/Installation.xml index fd8d942dd2..10ee44de80 100644 --- a/docbook/Admin_Guide/en-US/Installation.xml +++ b/docbook/Admin_Guide/en-US/Installation.xml @@ -340,7 +340,7 @@ PHP PHP - 7.2.5 + 7.4 8.0 or later See above for PHP extensions