php - Git Commands not working -


i using latest version of git in bash , trying execute basic commands e.g php. have set environment variable c:\wamp\bin\php\php5.5.12 in path.

however when execute these basic commands nothing comes up, not sh.exe: command not found. if have suggestions please let me know.

enter image description here

you have add environment variable php. can say: gitbash have know command installed. php, see below:

  • right click computer
  • click properties
  • go advanced system settings left navigation
  • click on environment variables... button
  • go system variables below
  • select path, click edit , in beginning of path enter: c:\pathtoyourphpdir\bin; (please note in here should indicate php executable path. in case installed php via e.g. windows installer).

related question: git bash giving sh.exe: ruby: command not found


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -