- Magento Development
- Magento Services
- Hire Magento Developer
Here we are discussing Magento 2 version upgrade by using the command line.
For this, we need the ssh access and log in with the username-password and go to root directory and where Magento 2 is installed.
Then we need to run below commands one by one :
composer require magento/product-community-edition 2.3.4 --no-update
rm -rf var/di var/generation
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php -dmemory_limit=2G bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
php bin/magento cache:flush
php bin/magento cache:clean
Here It will get upgraded to 2.3.4 version of Magento 2, we can change this to the latest version and add apply that command in ssh
After apply commands we can check our Magento version with the following command:
php bin/magento –version
That’s it. After performing all above steps, Magento will get upgraded to latest version with the upgraded source.
If you want get query string params in controller file,...
Create di.xml and add the below code Magemonkey/Redirect/etc/frontend/di.xml [crayon-62847559f01b6134712469/] Create...
You can try below code to change local date to...
Step 1: First you need to add registration.php file in...
Step1 : Override message.js in current theme file on the...