apache server xamp not working code example Example: xampp apache not starting sudo /etc/init.d/apache2 stop sudo /opt/lampp/lampp start