You need to add the PHP path (which is C: \ PHP) to the PATH variable.
In Windows 7 it will be: 1) My computer → Right-click → Properties 2) Advanced system settings 3) Click the "Environment Variables" button 4) Find the entry "Path" in the "System Variable" section and: a) add to the end "; C: \ PHP" (without quotes) or b) add to the front "C: \ PHP;"
EDIT:
php added to my system path.
You do need to open a new command prompt window (no need to log out, restart ...)
Lazyone
source share