diff --git a/htdocs/install/check.php b/htdocs/install/check.php
index a7d0a6a3dc264..4d22600b50ae0 100644
--- a/htdocs/install/check.php
+++ b/htdocs/install/check.php
@@ -99,7 +99,7 @@
print "
\n";
// Check PHP version max
-$arrayphpmaxversionwarning = array(8, 1, 0);
+$arrayphpmaxversionwarning = array(8, 2, 0);
if (versioncompare(versionphparray(), $arrayphpmaxversionwarning) > 0 && versioncompare(versionphparray(), $arrayphpmaxversionwarning) < 3) { // Maximum to use (warning if higher)
print ' '.$langs->trans("ErrorPHPVersionTooHigh", versiontostring($arrayphpmaxversionwarning));
$checksok = 1; // 0=error, 1=warning