If your encountering the “500 Internal Server Error” in XAMPP and cannot access your server administration panel or any of the installed domains, the problem may lie in your XAMPP servers root .htaccess file. I recently encountered the 500 Internal Server Error on a portable installation of XAMPP shortly after moving the installation to a new location. In the following simple solution, I will show you how I resolved the issue.
How to fix the 500 Internal Server Error:
It should be noted that this error may also occur after installing or upgrading to a newer version of XAMPP.
- Navigate to your XAMPP servers document xampp directory. For example: /XAMPP/htdocs/xampp/
- Delete the .htaccess file within
- Stop and restart Apache
- Using your Web Browser, navigate to localhost or any of the installed sites. If all goes well, you should no longer encounter the error.