logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: httpd is not recognized as an internal or external command
Author
markfrmtls



Joined: 19 Apr 2008
Posts: 5

PostPosted: Sat 19 Apr '08 18:12    Post subject: httpd is not recognized as an internal or external command Reply with quote

I am new again to the apache on windows and I am having a few problems. I am getting the message in the command line prompt when I am trying to install apache as a service. I get to the apache2\bin directory fine then I type "httpd -k install" after the closing widget in the command line and I get this message "httpd is not recognized as an internal or external command".
I am sure that I am not doing something right can some one please help. I have also looked on several boards and haven't seen anything on this subject. this forum seemed to have the better service for my needs. Thanks for any help!

I am sure I am going to have other problems till I learn more.

"You only get to keep what you have by giving it away." A motto I like to live by.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 19 Apr '08 18:31    Post subject: Reply with quote

Which version of Apache you are running ?
And where did you download ?

2.2.x : httpd.exe
2.0.x : apache.exe


Steffen
Back to top
markfrmtls



Joined: 19 Apr 2008
Posts: 5

PostPosted: Sat 19 Apr '08 18:38    Post subject: 2.0 Reply with quote

I am running 2.0 on my windows vista home premium and I don't remember exactly where I downloaded the files. It was from one of the mirrors from the apache.org site.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Sat 19 Apr '08 19:03    Post subject: Reply with quote

For Apache 2.0.x the command is apache -k install

Steffen
Back to top
markfrmtls



Joined: 19 Apr 2008
Posts: 5

PostPosted: Sat 19 Apr '08 19:22    Post subject: gratitude Reply with quote

Thank you very much.
That was the ticket.
Now on to the next lesson.
Back to top


Reply to topic   Topic: httpd is not recognized as an internal or external command View previous topic :: View next topic
Post new topic   Forum Index -> Apache