Answers for "how to update magento 2"

5

upgrade magento 2.4

php bin/magento maintenance:enable
composer require magento/product-community-edition=2.4.0 --no-update
composer update

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated/code/*
php bin/magento cache:clean
php bin/magento cache:flush
Posted by: Guest on July-07-2021
1

upgrade command magento 2

php bin\magento setup:upgrade
Posted by: Guest on June-11-2020

Browse Popular Code Answers by Language