Re: PHP-5.2.3 and "Internal Server Error"
| From: | Richard Lynch | Date: | Tue, 17 Jul 2007 23:06:13 +0000 |
| Subject: | Re: PHP-5.2.3 and "Internal Server Error" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259050@lists.php.net to get a copy of this message | ||
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?