# 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
sudo systemctl restart apache2
# or
sudo service apache2 restart
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
# 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
# CentOS/RedHat
sudo service httpd restart
# Debian/Ubuntu
sudo service apache2 restart
# by this command you can restart your apache2 server on Linux
sudo service apache2 restart
# by this command you can Start your apache2 server on Linux
sudo service apache2 start
# by this command you can Stop your apache2 server on Linux
sudo service apache2 stop