Upgrade PHP min version to 8.1.0

This commit is contained in:
Benjamin Dalsass
2023-11-20 15:21:00 +01:00
parent 444c9e0589
commit c0b1e877ad
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
"type": "project",
"license": "AGPL-3.0-only",
"require": {
"php": ">=7.4.0 <8.2.0",
"php": ">=8.1.0 <8.2.0",
"ext-ctype": "*",
"ext-dom": "*",
"ext-gd": "*",
@@ -46,7 +46,7 @@
},
"config": {
"platform": {
"php": "7.4.0"
"php": "8.1.0"
},
"vendor-dir": "lib",
"preferred-install": {

View File

@@ -94,7 +94,7 @@ class CheckResult {
class SetupUtils
{
// -- Minimum versions (requirements : forbids installation if not met)
const PHP_MIN_VERSION = '7.4.0';
const PHP_MIN_VERSION = '8.1.0';
const MYSQL_MIN_VERSION = '5.7.0'; // 5.6 is no longer supported
const MYSQL_NOT_VALIDATED_VERSION = ''; // MySQL 8 is now OK (N°2010 in 2.7.0) but has no query cache so mind the perf on large volumes !