How to restart Apache

25.Aug.2010

If you changed Apache settings on your Linux, and you want to restart Apache – the easiest way to do so is by using following command:

/etc/init.d/apache restart

In case this Linux restart Apache doesn’t work try another one:

/etc/init.d/apache2 restart