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.
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:
composer remove magento/product-community-edition --no-update && composer require magento/product-community-edition=2.3.5-p2 --no-update
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.