• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
24 views

Problem

'php' is not recognized as an internal or external command, operable program or batch file.

by (390 points)  
retagged by

1 Answer

0 votes

Possible Cause

may PHP not installed properly  or not setting up PHP path in system environment variable.

Solution

1) check php installed properly by the command  " php -v "   in command prompt

2) included PHP in windows system path by

a) Find the location of your "php.exe "  Example  C:\php\php.exe

b) Type following in command prompt

set PATH=%PATH%;C:\php\php.exe   

by (500 points)  
edited by
...