Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to apply security patches in magento using php file

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 107
    Comment on it

    We need to upgrade our magento setup time to time with release of the editions because of security reasons. Sometime we need to apply the security patches also to resolve security issues. Here I am explaining how to apply securtiy patches without ssh , by using php file.

    Follow the steps to upload security patches e.g here I am uploading security patch SUPEE-6788-
    1) Download the relative security patches from "https://www.magentocommerce.com/download" link.
    2) Upload the patch on root folder of your magento setup.
    3) Create patch.php file with the following content -

    <?php
        print("<PRE>");
        passthru("/bin/bash PATCH&#95;SUPEE-6788.sh");
        print("</PRE>");
        echo "Done";
    ?>
    

    4) Run file on browser , on successfully apply the patch you will see the result "Patch was applied/reverted successfully."

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: