Apache Restart

[Solved] Apache Restart | 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 : apache restart

Answered by : ugly-unicorn-qgnk061c00eg

# 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
# Reload Apache 2 server on Linux/Unix "No downtime!"
sudo service apache2 reload

Source : | Last Update : Mon, 03 Aug 20

Question : restart apache

Answered by : felipe-soares-barbosa-silveira

sudo systemctl restart apache2
# or
sudo service apache2 restart

Source : | Last Update : Fri, 24 Jul 20

Question : How to start apache2 server

Answered by : adriaan

# Start Apache 2 server on Linux/Unix
sudo service apache2 start

Source : | Last Update : Sun, 19 Apr 20

Question : linux apache restart

Answered by : murat-akmak

sudo service apache2 start
sudo service apache2 restart
sudo service apache2 stop
OR
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop

Source : | Last Update : Sat, 27 Aug 22

Question : how to stop a web server linux

Answered by : adriaan

# how to stop a web server linux
sudo service apache2 stop

Source : | Last Update : Sun, 19 Apr 20

Question : apache start stop restart

Answered by : harendra

sudo service apache2 restart
sudo service apache2 stop
sudo service apache2 start

Source : | Last Update : Wed, 17 Feb 21

Question : apache not restart

Answered by : grieving-gaur-s34utuwzp67f

cd /etc/apache2
apache2ctl configtest
sudo mkdir -p /var/log/apache2/
sudo chmod -R 744 /var/log/apache2/

Source : | Last Update : Fri, 11 Dec 20

Answers related to apache restart

Code Explorer Popular Question For Shell