Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30157 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15001 invoked by uid 1010); 13 Jun 2007 16:16:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14985 invoked from network); 13 Jun 2007 16:16:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jun 2007 16:16:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2369] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/18-61713-37810764 for ; Wed, 13 Jun 2007 12:16:51 -0400 Received: (qmail 92853 invoked by uid 98); 13 Jun 2007 16:16:51 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3411. Clear:RC:1(127.0.0.1):. Processed in 0.075978 secs); 13 Jun 2007 16:16:51 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 13 Jun 2007 16:16:50 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Wed, 13 Jun 2007 11:16:50 -0500 (CDT) Message-ID: <35630.216.230.84.67.1181751410.squirrel@www.l-i-e.com> In-Reply-To: <000101c7ad89$8e4db2d0$6e02a8c0@thinkpad> References: <000101c7ad89$8e4db2d0$6e02a8c0@thinkpad> Date: Wed, 13 Jun 2007 11:16:50 -0500 (CDT) To: "Dmitry Stogov" Cc: "'internals Mailing List'" , "Stanislav Malyshev" , "Andrei Nigmatulin" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] FW: php fastcgi From: ceo@l-i-e.com ("Richard Lynch") 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?