So you are a webmaster and you want to Restart Apache Server Easily but you don’t know how to do it just yet. It’s only need one command to restart apache server via linux / unix shell. The following command will do apache server restart quickly.
# /etc/init.d/httpd restart
Sometimes you want to restart your Apache server but you noticed that the server is pretty busy and hundreds of clients accessing the files on that server. You can issue a command to restart apache server without disrupting current client’s connection. You need to use the following command
# /etc/init.d/apache2 graceful
This will gracefully restart your Apache with new configuration without affecting your client’s connections. Enjoy guys