Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to apply Magento security patches in xampp for windows

That must not be so difficult to do, I installed Magento CE 1.9 on xampp for windows. it works well. I need to apply security patches that come only as .sh files, no other format is available. I have the file, how can I apply it gives that I don't find a way to execute the .sh files under this environment? thanks all

like image 436
Wasseem Abou Alburghol Avatar asked Apr 23 '15 22:04

Wasseem Abou Alburghol


2 Answers

1) My windows has sh.exe available and can run .sh files - just type it into the command line, git bash works fine too. UPDATE: my sh.exe was likely installed along with git. It is relatively easy to install though.

2) On windows machines you may need to edit the PATCH-... file. Find the CURRENT_DIR=``$PWD_BIN``/ line. Since you will be running it from the magento root directory anyway this can be left blank. Go ahead and remove everything after the equals sign. It should now read CURRENT_DIR=. See here for an explanation.

3)Now just move the file into your magento root directory and run it.

like image 122
tzvi Avatar answered Oct 31 '22 22:10

tzvi


Try the Below Link Using Git-bash in Windows :

Magento Patch File Installation in Windows

like image 39
VijayS91 Avatar answered Oct 31 '22 23:10

VijayS91