Question

How can update Magento2.3.5-p1 with the security patch to Magento2.3.5-p2?

I can not find the p2 patch on the Magento website; https://magento.com/tech-resources/download

Was it helpful?

Solution

That depends on how you installed Magento. Also note you should install updates on a development environment and full test your site before replicating on a production environment.

Composer

# Run from site root 
composer require magento/product-community-edition=2.3.5-p2 --no-update
composer update

Git (Checkout latest tag)

# Run from site root
git fetch --tags
git checkout 2.3.5-p2

Archive

  • Download & unzip latest archive
  • Replace current Magento install files with new Archived versions
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top