How To Restart an Apache Web Server (Linux)
Submitted by winter on Tue, 10/23/2007 - 09:52.
- Login to your Web server machine using SSH or telnet.
- Su to root.
- Run the apache control program:
apachectl graceful - You can also run the apache control program in this way:
apachectl restart
To stop it : apachectl stop
Tips:
- graceful reloads the configuration files and gracefully restart. Any current connections are allowed to complete.
- restart reloads the configuration files and restarts. Any current connections are terminated immediately.
- If the server isn't running, these commands will start it up.

Delicious
Digg
StumbleUpon
Propeller
Reddit
Magnoliacom
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Icerocket
Post new comment