Check what Magento patches were installed

The question:

I need to install patches 5994 and 6285 on Magento installation (Community edition) but I am not sure if they are already installed or not.

Is there any way in Magento to check if a particular patch is already installed or not?

The Solutions:

Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.

Method 1

When patches are applied a file named applied.patches.list is added in the app/etc/ directory.

Next to that the patch is nothing more than a diff file so you can see what it should change when you open it and check in the targeted file if it is indeed changed.

You can test successful installation of the patches at https://shoplift.byte.nl

Method 2

In the app/etc directory there will be file named applied.patches.list

Method 3

You can check if app/etc/applied.patches.list exists and look through the text file for information.

This module does a good job of parsing this file and displaying the patches in the admin footer.

However, this file isn’t always committed/included with the project. The only sure way would be to download the patch and compare the diff inside to your current code base.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Comment