I downloaded the SUPEE-3941 patch file from https://magento.com/tech-resources/download, saved it in the Magento root folder and created a patch.php file under the root folder.


 passthru("/bin/bash PATCH_SUPEE-3941_EE_1.14.0.1_v1-2015-02-10-08-32-02.sh");
 echo "Done";

after hitting the URL mysite/patch.php it shows "done". But when I open the file app/etc/applied.patches.list, the patch SUPEE-3941 is not shown as installed.

What I am doing wrong?

1 Answer 1


if the output is only "Done", the passtru command did not execute successfully.

You can try to find out why by enabling error reporting:

ini_set('display_errors', 'on');

But I would not recommend installing patches via browser at all. If you have SSH access, run the patch from the console. If not, check out the alternatives posted here: Critical Reminder: Download and install Magento security patches. (FTP with no SSH access)

  • Thank you so much @Fabian for your answer. You are right passthru command didn't executing successfully in my case. I just delete that file from server and re upload it . I don't know how but it worked for me. Jan 10, 2017 at 4:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.