How do I create a 500 internal server error?

Any syntax errors will cause a 500 Internal Server Error message to be displayed instead of your website. To confirm whether a misconfiguration . htaccess is the cause of the 500 Internal Server error, either remove or rename the . htaccess file temporarily and then try to reload the page.

For More Information Please Refer: