Restart Apache via Command Line
Posted by: YorkshireSteve (
Date: February 13, 2007 06:56PM


I'm wondering if there is any way to restart Apache from the command line?

The reason I need to do this is because we have an intranet system which creates virtual hosts on our WAMP server and Apache needs to be restarted every time changes to this file are made (in order to reload the updated information).



Post Edited (02-15-07 17:44)

Options: ReplyQuote
Re: Restart Apache via Command Linux
Posted by: CyberSpatium (71.237.217.---)
Date: February 15, 2007 12:31PM


apache.exe -k restart

use a batch file, or install a cron line service for windows that will run the command every hour. windows does not support cron, but there are tons for freeware programs out there that all you to use/run cron type services on windows.

here is one i use:

WAMP English Forum Admin

like my free support? help support me by checking out my new Newbie Webmaster Development Forum dedicated to the newbie webmaster here:

Options: ReplyQuote

Sorry, only registered users may post in this forum.