I've got Apache 2.2 running on Windows 7. However, the command line does not work - if I type in httpd it says:

httpd is not recognized as an internal or external command, program or batch file.

Why is this and how do I fix it?

link|improve this question
feedback

1 Answer

Add directory with httpd.exe to PATH environment variable.

link|improve this answer
1  
Or type the full path to httpd.exe as part of the command. Tedious, but works if the PATH can't be changed. – Ed Fries Feb 21 '11 at 23:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.