How to quickly restart Apache in XAMPP Control Panel?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to quickly restart Apache in XAMPP Control Panel?

Postby dhinged » 08. September 2011 02:54

I know I can click Stop, wait for Apache to stop, then Start to restart Apache from the XAMPP Control Panel, but how do I quickly restart from the panel without having to go through all that? Zend Server has a quick Restart option (right-click Apache Monitor in Task Manager), and I can command-line it like in normal Apache install, but it seems XAMPP should have the same easy way to do it as Apache Monitor since it already has a control panel.

Is there some way to quickly restart using the panel that I'm not seeing?
dhinged
 
Posts: 5
Joined: 05. September 2011 00:15

Re: How to quickly restart Apache in XAMPP Control Panel?

Postby glitzi85 » 15. September 2011 14:39

If you've installed Apache as a service you could create a batch file with two commands:
Code: Select all
sc stop Apache2.2
sc start Apache2.2


But we are talking about waiting a few seconds, right? Do you have to restart Apache that often that those seconds really matter?

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 58 guests