Answers for "update magento 2 2.3 to 2.4"

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

install magento 2.4.2

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition ./


php bin/magento setup:install \
--admin-firstname=John \
--admin-lastname=Doe \
[email protected] \
--admin-user=admin \
--admin-password=tin@me42. \
--base-url=https://fohow.kara.com.ng \
--base-url-secure=https://fohow.kara.com.ng \
--backend-frontname=admin \
--db-host=mysql \
--db-name=fohowkara \
--db-user=root \
--db-password=Tin@@me43.. \
--use-rewrites=1 \
--language=en_US \
--currency=NGN \
--timezone=Africa/Lagos \
--use-secure-admin=1 \
--admin-use-security-key=1 \
--session-save=files \
--elasticsearch-host=elasticsearch \
--elasticsearch-port=9200
Posted by: Guest on April-28-2021

Browse Popular Code Answers by Language