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