From 9150ba40840fabb32b390206630ddadb4357208b Mon Sep 17 00:00:00 2001 From: Mikhail Sandakov Date: Tue, 28 Jan 2025 14:29:51 +0200 Subject: [PATCH] Allow distupgrade with PHP 7.0 and any later version --- ubuntu20to22/upgrader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu20to22/upgrader.py b/ubuntu20to22/upgrader.py index 81d9dbc..20906f5 100644 --- a/ubuntu20to22/upgrader.py +++ b/ubuntu20to22/upgrader.py @@ -152,7 +152,7 @@ def get_check_actions( if phase is Phase.FINISH: return [] - PHP_VERSIONS_SUPPORTED_BY_UBUNTU_22 = ["7.0"] + [str(php) for php in php.get_known_php_versions() if php >= version.PHPVersion("7.2")] + PHP_VERSIONS_SUPPORTED_BY_UBUNTU_22 = [str(php) for php in php.get_known_php_versions() if php >= version.PHPVersion("7.0")] return [ actions.AssertMinPleskVersion("18.0.44"),