⭐ in reply to What causes 'premature end of script headers'?
Not having output a header when you should have. Whether that is because the script didn't compile or was aborted before it reached the code to output the header, the result is the same. Consult your server's error log to find out the actual error message.