Magento 2.3 – How to Apply Security Patches

magento2security-patch

My current magento version is 2.3.5-p1.
I want to apply the last version of security patch for the same version 2.3.5 . Whether it can be 2.3.5- p2 or 2.3.5-p5 , anything.
How can i apply . Please can someone send me step by step guide. Dont send Mageplaza link, i have already refer that and did not understand anything.

Best Answer

The latest version of magento 2.3.5 is 2.3.5-p2.

To upgrade from 2.3.5-p1 to 2.3.5-p2, following the below steps:

  1. Run command: composer remove magento/product-community-edition --no-update && composer require magento/product-community-edition=2.3.5-p2 --no-update

  2. Run command: composer update

  3. Run commands to run upgrade database, compile DI, deploy static content: bin/magento setup:upgrade && bin/magento setup:di:compile && bin/magento bin/magento s:s:d -f

That's all, you're done.

Related Topic