5

This question already has an answer here:

How to upgrade magento 2.2.4 to latest version ie., 2.2.5

marked as duplicate by Jai, Mohit Kumar Arora, liyakat, Manashvi Birla, Priyank Jul 2 '18 at 10:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

10

Please use the command line to execute following commands in Magento installation root directory.

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

rm -rf <Magento install dir>/var/cache/
rm -rf <Magento install dir>/var/page_cache/
rm -rf <Magento install dir>/var/generation/

bin/magento setup:upgrade
php bin/magento maintenance:disable
service varnish restart

For more details refer magento docs: https://devdocs.magento.com/guides/v2.2/comp-mgr/cli/cli-upgrade.html

Not the answer you're looking for? Browse other questions tagged or ask your own question.