Jump to content

[SOLVED] restarting apache


clodagh

Recommended Posts

I have to restart the apache server after some configuration changes

 

I've been told to run the dos command

 

usr/sbin/apachectl -k graceful

 

alternatively without the -k

 

from the root (C:/>)

 

this gives a specified path not found error.

 

Any ideas, is it that vista has these directories located somewhere else or I am making some silly mistake somewhere.

 

This is doing my head in so any help would be appreciated

yeah I thought that

 

its location is C:/xampp/apache/bin

 

but is the cmd window it would not let me cd \bin said path not specified

 

for Maq the exact command I was running was

 

c:/usr/sbin/apachectl -k graceful

 

and I don't know how to find out what kind of server apache is running on, downloaded xampp and it did all that crack for me.

Doesn't xampp come with some kind of control panel for restarting apache?

 

Anyway

c:/xampp/apache/bin/apachectl -k graceful

might work... although I am not sure if windows Apache is controlled same way as Linux Apache

usr/sbin is for linux only. Windows wont be able to understand that command.

 

To restart Apache use the XAMPP Control Panel. Should be accessible via the taskbar

 

EDIT:

Alternatively restart the Apache server via the Windows Services windows> Type services.msc at start menu andf ind the Apache service and click restart.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.