Re: Dreaded Premature end of script headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 Aug 2011, at 06:56, tamouse mailing lists wrote:

> I'm encountering this on a script, but I can't figure out where it's
> actually failing. How do I debug this problem???

Make sure you have error_reporting set to E_ALL and display_errors on in your php.ini. A script that stops unexpectedly is almost certainly due to a fatal error, and if you're not seeing the error message because either of those settings are not set to display them, you're coding blind!

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux