cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Upgrade from 2.2 to 2.4.5 - Big trouble with PHP version!

Magento Upgrade from 2.2 to 2.4.5 - Big trouble with PHP version!

Hi,

i spent 1 week trying to upgrade magento from version 2.2 to 2.4.
In order to proceed I have downloaded and I am using composer 1.
My PHP version is 7.1 - Perfectly compatible with Magento 2.2.
With composer 1 I was able to get a "composer require" without errors.
I then launched the "composer update" command but it goes into error due to the lack of php 7.4 or higher.
Now: I could also update the php and finish the "composer update" but then the "magento/upgrade" will not work because it is the one of magento 2.2 which only works with php 7.1

do you have solutions?

1 REPLY 1

Re: Magento Upgrade from 2.2 to 2.4.5 - Big trouble with PHP version!

You might want to post the errors you're getting using the code template so people can see exactly what the error message is.