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