Published: November 29, 2017
Last updated:

How to install SUPEE-10415

Magento CE 1.9.3.7 and SUPEE-10415 Security Enhancements – 11/29/2017
SUPEE-10415 patch can be downloaded from Downloads section or installed as a regular Magento 1.x upgrade or upgrade to OpenMage LTS with all the latest security patches up to date (it is about ~30 patches up to 2021).

To apply the patch you need SSH access (shell access actually, SSH is just most used way to get shell access) to the server. If you have no SSH access, you can refer to How to apply SUPEE-10415 without SSH.

If you wish to save time and have us to install all these patches for you, simply click here to order installation.

Step 0: Preparations

Note: Make sure to Disable Magento Compiler at System > Configuration > Tools > Magento Compiler and clear compiled cache.


Step 1: Verify your Magento version

$ grep -A6 'static function getVersionInfo' app/Mage.php
    public static function getVersionInfo()
    {
        return array(
            'major'     => '1',
            'minor'     => '9',
            'revision'  => '2',
            'patch'     => '4',
As you can see in the example, it is Magento 1.9.2.4

Step 2: Download corresponding patch

The patch should be downloaded from https://magento.com/tech-resources/download#download2133 Make sure to get the right file corresponding to your Magento version.

Step 3: Place patches into Magento Root directory

Upload your files into Magento root directory. It is important to place patch files directly into Magento root directory and execute it also directly in Magento root directory.
$ ls -1 .
PATCH_SUPEE-10415_CE_1.9.2.4_v1-2017-11-27-06-51-32.sh
app
cron.php
downloader
errors
favicon.ico
index.php
js
lib
mage
media
pkginfo
robots.txt
shell
skin
var


 

Step 4: Run the patches

$ bash ./PATCH_SUPEE-10415_CE_1.9.2.4_v1-2017-11-27-06-51-32.sh
Checking if patch can be applied/reverted successfully...
Patch was applied/reverted successfully.


 

Step 5: Verification and flush of Magento PHP opcode cache

Flush Magento caches: Navigate in Magento backend to System > Cache Management and flush Magento cache and CSS/JS caches.

If you use PHP opcode caches (OPCache/APC/XCache/eAccelerator) make sure to flush it after patching (or restart webserver), otherwise code will continue to run from caches.

Test that your store is working. Test Checkout process.

Known issues

There are several known issues related to SUPEE-10415 installation, you can refer to this list for details.

If you have any difficulties with applying the patches please let us know in comments, so we can find the solution together.

 

Posted in: Magento Maintenance

45 votes, 4.47 avg. rating (88% score)