apache:restart_apache
Apache - Restart Apache
Issue the following command:
service apache2 restart
or
apachectl -k restart
Restart Gracefully
Ifrestarting the web server on a live website, it should be done gracefully.
A graceful restart tells the web sever to finish any active connections before restarting.
- This means that active visitors to the site will be able to finish downloading anything already in progress before the server restarts.
sudo /etc/init.d/apache2 graceful
apache/restart_apache.txt · Last modified: 2023/07/17 08:43 by peter