I am trying to update from Magento 2.3.5 to Magento 2.4.4-p2. The commands I executed are:
composer require magento/product-community-edition=2.4.4-p2 --no-update --use-default-magento-values composer update
I am running PHP 7.4 and the error I get is: magento/framework 102.0.5 requires php ~7.1.3||~7.2.0||~7.3.0 -> your PHP version (7.4.30) does not satisfy that requirement.
Switching back to PHP 7.3 gives me: magento/product-community-edition 2.4.4-p2 requires php ~7.4.0||~8.1.0 -> your PHP version (7.3.33) does not satisfy that requirement.
How would I solve this?