Upgrading Magento 2.3.3 to 2.4
Composer version 1.10.19
Php 7.4
Following this guide which shows errors on step 3
Step 3: Install the Composer update plugin
1 2 3 | composer require magento composer root update-plugin ~1.0 --no-update composer update |
Solved! Go to Solution.
@Sheba ,
seems like your composer is using php7.2
to update that you can use the following command to get a new composer.phar within your webroot
php -r "readfile('https://getcomposer.org/installer');" | php
now you can use the following command to use composer
php composer.phar update
kindly Accept as a solution if this works for you and give Kudos.
@Sheba ,
seems like your composer is using php7.2
to update that you can use the following command to get a new composer.phar within your webroot
php -r "readfile('https://getcomposer.org/installer');" | php
now you can use the following command to use composer
php composer.phar update
kindly Accept as a solution if this works for you and give Kudos.
Hello @Sheba
Magento 2.4 modules are compatible with PHP 7.4, upgrade your php version and try again.
Hope it helps !
Thanks!
Thanks for your suggestion. What path on webroot should I be to run command?
you can run these commands on the Magento root folder