Posted under » MySQL » Ubuntu » Apache » Arch » Raspberry Pi updated on 11 August 2024
Apache
If Debian or Ubuntu Service
$ service mysql start $ service mariadb start $ service apache2 stop
If Arch, Redhat or CentOS. Apachectl will work on Ubuntu too.
$ apachectl stop $ apachectl restart
Restart if Debian
$ restart mysql $ systemctl reload apache2
If all fails, use systemctl
$ systemctl status apache2 $ systemctl status mysql $ systemctl reload httpd