thethakuri wrote:What happens is xampp httpd crashes
You need to investigate why Apache (httpd.exe) is crashing as this is at the root of your other issues.
There are log files that may hold a clue:
C:\xampp\apache\logs\error.log - check this around the date and time of your last crash.
C:\xampp\mysql\data\mysql_error.log - as above.
You seem to have also found the Windows Event Viewer>Applications tab but you need to paste here the content of the crash event so it can be assessed.
What exactly were you doing at the time Apache crashed?
Any other relevant information about the crash would be helpful in trying to troubleshoot this crash issue.
Best wishes.