Re: PHP-5.2.3 and "Internal Server Error"

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

 



On Tue, July 17, 2007 7:20 am, Paul Scott wrote:
> On one of our test boxen, we recently upgraded to PHP-5.2.3 and all of
> a
> sudden started getting Internal Server Errors. The Apache log file
> tells
> me that there is a premature end of script error on index.php, which
> is
> simply an entry point script to an MVC framework.
>
> I have checked that there is no whitespace after the closing ?> tag
> and
> all, and have removed almost everything that I can think of that may
> be
> causing something like this.
>
> It seems to choke on the call to ob_start()...
>
> Anyone have any ideas that may shed some light on this one?
>
> Appreciate any helpful tips.

Run the same script with php CLI and see what it outputs.

Open the script in various editors to be sure there's no stray
un-printable character in the source.

Set error_reporting to E_ALL.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
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