RE: [PHP-DEV] FW: php fastcgi
| From: | Dmitry Stogov | Date: | Wed, 13 Jun 2007 16:53:33 +0000 |
| Subject: | RE: [PHP-DEV] FW: php fastcgi | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30159@lists.php.net to get a copy of this message | ||
Configuaratin option make sense, but PHP already has too many configuration
options especialliy for error reprting.
I would like to avoid new ones.
Thanks. Dmitry.
> -----Original Message-----
> From: Richard Lynch [mailto:ceo@l-i-e.com]
> Sent: Wednesday, June 13, 2007 8:17 PM
> To: Dmitry Stogov
> Cc: 'internals Mailing List'; Stanislav Malyshev; Andrei Nigmatulin
> Subject: Re: [PHP-DEV] FW: php fastcgi
>
>
> On Wed, June 13, 2007 2:07 am, Dmitry Stogov wrote:
> > Current time most PHP instalations use setting
> 'display_error=0'. This
> > setting hides errors from user but may send to him just a
> blank page.
> >
> > The proposed patch sends HTTP 500 response on errors
> instead of blank
> > pages. The pages that already wrote something are not affectd.
> >
> > Any objections or additions?
>
> This sounds perfectly reasonable...
>
> But I suspect some users might prefer a 404 or a customizable
> response of some type...
>
> At the risk of incurring the wrath of list members, perhaps
> yet another php.ini configuration switch could be considered?...
>
> I wouldn't hold up the 500 patch for long with this kind of
> discussion, but it's worth taking a few minutes to consider, I think.
>
> --
> 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?
>