Install and Uninstall Magento 1.x patch

What are the patch

In any stable product we might see some vulnerability, security threat, bug. Magento is not the exception it has millions of users/merchants who are running their successful stores. In view of same respective product owner release the fixes for possible/identified problem. These releases are known as patch.

 

How to download patch in Magento

Go to https://magento.com/tech-resources/download and open the tab “RELEASE ARCHIVE”. Just scroll it down you will get a section “Magento Community Edition Patches – 1.x”. Select your format from their and click on download button. Login to your account and its done.

 

How to install Magento patch

Magento provides a shell script (.sh) file . To install the patch follow below steps:

  1. Copy the shell script on the server either through cpanel/ssh/putty
  2. Login to server from command line
  3. Run the command and change directory to the shell script patch

sh —PATCH-FILE-NAME.sh

 

 

Uninstalling/Revert a Magento patch

There could be some instances that that you have applied some patch and might be that some feature in not working after the patch applied. In that case you might need to revert the patch changes.

To uninstall the patch follow below steps:

  1. Go to the path of shell script patch

sh —PATCH-FILE-NAME—.sh -R

 

See what are the changes made with which patch

Go to app/etc/ applied.patches.list . This file contain the patch name and their corresponding file name .

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video Conferencing and social media domain. The motive of creating cutehits was just to share the knowledge/solutions I get to know during my day to day life so that if possible I can help someone for same problems/solutions. CuteHits.com is a really a very effort for sharing knowledge to rest of the world. For any query/suggestion about same you can contact me on below details:- Email: shekharmca2005 at gmail.com Phone: +91-9560201363

Latest posts by Chandra Shekhar (see all)

You may also like...