How to restart Apache on Ubuntu

Use command:

/etc/init.d/apache2 restart

or

service apache2 restart

,