sh: php: command not found in git bash windows 8

git, php

Solution

You are required to put the directory that has php.exe in your WAMP installation into environment variable PATH. It is generally like C:\wamp\bin\php.

Where \php\ is the directory containing php.exe.

Problem

I'm running `php composer.phar install` from git bash CLI and it shows sh:php: Command not found. Though I have set environment variable path to my wamp/bin/php/php5.4.16/

Original source

Related problems