In the event of a XAMPP crash or a security issue that requires you to uninstall and reinstall XAMPP: Windows Uninstall 1. Search for "Add or Remove Programs" in Windows. 2. Locate XAMPP, click the three dots (...), and select Uninstall. 3. Open File Explorer and delete the C:\XAMPP folder (if it still exists). 4. Empty the Recycle Bin. 5. Unpin the XAMPP icon from the taskbar. 6. Restart your computer. Reinstall 1. Download the latest XAMPP from https://www.apachefriends.org/ 2. Install XAMPP and follow the installation instructions. Pin the XAMPP icon to the taskbar. 3. Create Alias Shut down Apache. Edit httpd.conf and add the following under : ######################################## Alias /my_php c:/temp/my_php Options +Includes Options Indexes FollowSymLinks ##enable directory listing, not a good idea Allow from all Require all granted ######################################## 4. Start Apache. Open Firefox. Verify that the following URL is working: http://localhost/my_php/ 5. Start MySQL. Using the MySQL Command Prompt (Shell) in XAMPP: mysql -u root -p Enter password: mysql> GRANT ALL PRIVILEGES ON *.* TO harry@localhost IDENTIFIED BY 'elbomonkey' WITH GRANT OPTION; mysql>exit mysql -u harry -p Enter password: elbomonkey mysql -u root -p use mysql; ALTER USER 'root'@'localhost' IDENTIFIED BY 'rootpass'; flush privileges; exit;