Tuesday 6 February 2018

php is not recognized as an internal or external command wamp

Question: How to "Fix php is not recognized as an internal or external command wamp"?

Step 1
Click on Start Button => Right Click on Computer => Click on Properties

Window 7 go to the properties


Step 2
An Popup will appear => Click on "Advance System Setting" (Left Panel)


Step 3
Click on "Environment Variable"

Window 7 go to the System properties


Step 3
A popup will appear, Select PATH and click on "EDIT"
Window 7 Edit Environment Varaible



Step 4 Add you php.exe path at the end of input box like below:
;D:\wamp\bin\php\php5.5.12\

Window 7 Set php.exe path in environment variable