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.4.6 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:
1 |
sh patch_file_name.sh |
Example:
1 |
sh PATCH_SUPEE-7405_CE_v1.9.3.2-1.9.3.7_v1-2018-02-23-06-01-40.sh |
For .patch file extension:
1 |
patch —p0 < patch_file_name.patch |
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 Version | SUPEE 7405 |
Magento 1.9.2.2 | CE-1.9.2.2 |
Magento 1.9.2.1 | CE-1.9.2.1 |
Magento 1.9.1.1 | CE-1.9.1.1 |
Magento 1.9.0.1 | CE-1.9.0.1 |
Magento 1.8.1.0 | CE-1.8.1.0 |
Magento 1.7.0.2 | CE-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:
- 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. - 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. - 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
1 |
chown -R web-server-user-name magento/root/path |
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!
Keep the security of your Magento store updated to the highest level using our Magento Security Patches Installation Service.
Sanjay Jethva
Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe.
His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.
Prev
How to Install Magento SUPEE 10266 With or Without SSH
How to Install Magento SUPEE 8788 with or without SSH
Next