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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.