Can you share your Apache error_log?
This could be a problem at your host also as you are not even able to connect to your server via FillZilla. Normally adding the above code shouldn't throw the 500 error unless you are making changes to .htaccess etc.