There are a number of ways of restarting Apache. Some safer than others. The safest is to:
service apache2 stop; service apache2 start
or (not so safe):
service apache2 restart
Finally some strange souls may choose to use:
sudo /etc/init.d/apache2 restart