I have been trying to apply the latest Magento security patches but I have failed due to the web server where I have the web shop does not allow me to unpack Magento's patches via SSH.

I tried intead to make a copy of the web shop to my local mac along with a database copy and set it up on XAMPP. Could not do that either because the database is around 300Mb big and for some reason it wasn't working even after I changed the max file size and max execution time on the php.ini.

I tried the to update via PHP but then again, I hade the same problem as in the beginning: My web server does not allow me to unpack SSH files.

Last but not least, I tried this approach except I did not have any Magento 1.7 but an old Magento contra a brand new Magento with all the patches already applied. I got as well an error.

Are there any other ways to make the update?

Thanks in advance!

1 Answer 1

  1. you want to have a VCS to host your source code
  2. you don't want to deploy via FTP/SFTP/SCP/... (at least not file by file)
  3. You don't need a database to apply the patch.

Just download all the files and apply the patch. Make sure, that you don't change the line endings while downloading

  • Are you telling me that I don't need a DB to update the shop locally? I'm sorry for my ignorance but how do I do that? If I download the shop and run it on my XAMPP in order to apply the patch, won't I need a DB?
    – viriato
    Jul 20, 2015 at 14:06
  • 1
    @viriato The patch simply operates on the file system. You never have to "run" Magento in any way. It just makes some changes to various files so the only reason you want the DB also would be to actually run the store after patching to make sure it still works.
    – pspahn
    Jul 20, 2015 at 16: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.