Create Calendar .ICS files with PHP

internal_server_error <![CDATA[WordPress &rsaquo; Error]]> 500