How to Install Magento Security Patch via Putty

To install magento security patch using putty follow below given steps.

Step 1: First download the security patch from this link You can download the security patch after sign in magentocommerce account.

Step 2: Under Release archive tab find the security patch as per your magento version. Make sure download the patch which match with your current installed magento version.

magento install patch

As you see a list is showing as per magento version, choose as per your requirement. Now patch will be download

Step 3: After download the patch, Make sure that Magento compiler set to Disable. In admin section go to your Admin Panel -> System -> Tools -> Compilation and click on the Disable button.

Step 4: Now place the patch in magento root directory. You can use FTP and Putty for upload the patch in magento root folder.

Patch file location should like in root folder structure:

$ ls -1 .

Step 5: Connect the server with putty.

connect putty magento

Step 6: Now use this command on putty.

$ sh ./

Checking if patch can be applied/reverted successfully…
Patch was applied/reverted successfully.

puuty patch result

Step 7: Now test your magento store. Make sure restart the web server or clear the cache.

If you still getting the critical message. Don’t worry make sure that patch is installed successfully. Just Mark as read critical message in System->Notification from admin panel. Message will removed.

Leave a Comment