Hi, I am currently using 2.2.7 CE and plan to upgrade via composer/CLI. Is possible to upgrade to the latest version? Is there a way to check the highest version I can upgrade to for the community edition?
Also do I need to upgrade my system before or after I start the magento upgrade? I can see here https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html the system requirements are different from what I have currently on my server.
Firstly we will prepare our site for Upgrade
Assure you have configured your server that works with PHP 7.4. As per the release notes of Magento 2.4.2, it only supports PHP 7.4. You can also install Magento 2.4.2 using PHP 7.3 at your own risk as it is not tested anymore. The best practice is to use the latest version of PHP 7.4.
Check your PHP version with the help of the given below command:
Assure your composer is pointing to the accurate PHP version. By applying the below-given command you can verify your composer’s PHP version
composer -vvv about
You can refer to this article.