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 .

Related posts:

The following two tabs change content below.

Chandra Shekhar

Consultant at Infogain
Chandra Shekhar is a LAMP Developer,Thinker,Blogger and currently working as Magento(Ecommerce) specialist.. I am always open to learn new things in LAMP as well as other newer technology. In the journey of my last 9 years of web and product development, I have decided to share my knowledge and experience to Open Source Community in 2011. In this regard I have started CuteHits.com. Since then I am actively sharing my knowledge on various LAMP technology through CuteHits.com’s technical ... Read More about Chandra Shekhar

Latest posts by Chandra Shekhar (see all)