How to Install Magento SUPEE 7405 with or without SSH

How to Install Magento SUPEE 7405 with or without SSH

Security in E-commerce stores is very important. Magento knows its important and make available Security Patches on timely basis to the store owners to protect stores from potential threats and attack and ensure smooth functioning.

One such Security Patch Magento SUPEE 7405 was released on February 23, 2016. The installation of the patch enables support for PHP 5.3 and address issues with upload file permissions, merging carts, and SOAP APIs.

With nearing of Magento 1 end of life, it is strongly recommended to migrate to the latest Magento 2.3.2 rather than installing Magento SUPEE-7405.

Installation of Security Patch Magento SUPEE 7405

There are two methods for the installation process of Magento SUPEE 7405 which are discussed as below:

Method 1: Install Magento SUPEE 7405 using SSH

Contact your hosting provider if you don’t know how to set up SSH. Download Magento SUPEE 7405 Patch files for your Magento Version from here.

Upload the patch into your Magento root directory and run the appropriate SSH command:

For .sh file extension:

Example:

For .patch file extension:

Note: Once executed the command, refresh the cache in the Admin under “System > Cache Management” so that the changes can be reflected. We strongly recommend that you test all patches in a test environment before taking them live.

 

Method 2: Install Magento SUPEE 7405 with PrePatched Files

Download the zip file for your Magento Version for the patch installation. You can also download these Pre Patched files from GitHub. After downloading the files, just upload it to your Magento root folder.

Magento VersionSUPEE 7405
Magento 1.9.2.2CE-1.9.2.2
Magento 1.9.2.1CE-1.9.2.1
Magento 1.9.1.1CE-1.9.1.1
Magento 1.9.0.1CE-1.9.0.1
Magento 1.8.1.0CE-1.8.1.0
Magento 1.7.0.2CE-1.7.0.2

 

How to check if Magento SUPEE 7405 has been installed correctly?

Visit magereport.com to check the correctness of the process.

 

Possible issues in Installation of Magento SUPEE 7405:

  1. PHP version issue
    It is recommended to use latest PHP versions i.e greater or equal to PHP 5.4.0 in order to make this patch work successfully as the new short format only works with latest PHP verions.
  2. Admin panel login issue
    Immediately after patching, you may not be able to login to admin panel. To resolve the issue, you have to take away every session file and remove other session storage types and delete browser cookies in order to avoid difficulty in logging into the admin panel.
  3. Image upload issue resulted from incorrect file permission for newly uploaded images
    The patch affect file permission of the image uploaded from Magento backend. Before patching, image files used to have 0777 permission which gets changed to 0640 and 0750 which make them inaccessible for users. There are two ways to resolve this issue:

    • Manually change the 0640/0750 permission from the file lib/Varien/File/Uploader.php
    • Make the webserver the owner of the files from the path below. Here, generally the user name is www-data or apache
 

Please leave a comment below if you have any doubts about the above-discussed methods. We’d like to help you out! We strongly recommend having upgraded version of Magento, i.e Magento Version 1.9.2.4 that includes SUPEE 7405 along with other patches. For more information, visit Magento Upgrade Service.

Installation of Magento Security Patches can be tricky and to avoid any data loss, you may want to have a look at Magento Security Patches Installation Service to get it done by professionals!

Hopefully, our blog is useful to you! Let us know your reviews about this guide through commenting and reward it with 5 stars now!

How to Install Magento SUPEE 7405 with or without SSH 1

Get Weekly Updates

Never miss Magento tips, tricks, tutorials, and news.

Thank you for subscribing.

Something went wrong.

5
(based on 3 Reviews)

Sanjay is a co-founder at Meetanshi. He is a Certified Magento Developer who loves creating Magento E-commerce solutions. Owing to his contributions in Magento Forums and posting solutions, he is among the top 50 contributors of the Magento community in 2019. When he is not engrossed with anything related to Magento, he loves to play cricket.

Leave a reply:

Your email address will not be published.