How To Restart Apache2 In Ubuntu 20 04

[Solved] How To Restart Apache2 In Ubuntu 20 04 | Shell - Code Explorer | yomemimo.com
Question : restart apache ubuntu

Answered by : lokesh-ramchandani

# Restart Apache 2 server on Linux/Unix
sudo service apache2 restart
# Start Apache 2 server on Linux/Unix
sudo service apache2 start
# Stop Apache 2 server on Linux/Unix
sudo service apache2 stop

Source : | Last Update : Thu, 09 Jul 20

Question : restart apache ubuntu

Answered by : lokesh-kumar-suman

# Restart apche 2 server.
sudo service apache2 restart
or
sudo systemctl restart apache2
# Gracefully reloading is a bit faster, and there's no downtime
sudo service apache2 reload

Source : | Last Update : Wed, 03 Mar 21

Question : how to restart apache2 in ubuntu 20.04

Answered by : curious-chicken-eanv1tv6r1a6

$ sudo systemctl restart apache2

Source : https://linuxconfig.org/how-to-restart-apache-on-ubuntu-20-04-focal-fossa | Last Update : Mon, 06 Jul 20

Answers related to how to restart apache2 in ubuntu 20 04

Code Explorer Popular Question For Shell