restart xampp windows code example Example: restart xampp linux sudo /opt/lampp/lampp stop sudo /opt/lampp/lampp start