Click to See Complete Forum and Search --> : "premature end of script headers" how do i debug?


irf2k
03-15-2007, 11:53 PM
I have a PHP script that is running on a SHARED server. I ran the script a few months ago and it worked fine. However, when I try to run the script now, it returns a 500 Internal Server Error.
I checked my CPanel error log and it tells me "Premature end of script headers", which means as much to me as a 500 Internal Server Error.
How can I find out what the problem is and fix it?

BoarsHell
03-16-2007, 07:22 AM
You should set up a testing environment on your home computer so you can have complete access to error reports. Plus it is just much more efficient.

Check out the free xampp package, its a really easy and fast way of temporarily setting up apache, php, mysql, and some other things you may need.