WordPress 500 Internal server error when activating custom theme [closed]

You start by enabling WP debugging.

Wanted to add that a 500 error is typically a httpd server issue, either configuration or (more likely in this case) doing something in WP that you shouldnt, e.g. modifying http headers incorrectly.