Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30326 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3851 invoked by uid 1010); 23 Jun 2007 17:55:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 3836 invoked from network); 23 Jun 2007 17:55:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2007 17:55:27 -0000 Authentication-Results: pb1.pair.com header.from=alex@kiesel.name; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=alex@kiesel.name; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kiesel.name from 82.165.42.187 cause and error) X-PHP-List-Original-Sender: alex@kiesel.name X-Host-Fingerprint: 82.165.42.187 xhantos.de Received: from [82.165.42.187] ([82.165.42.187:54801] helo=xhantos.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/B9-19091-B8E5D764 for ; Sat, 23 Jun 2007 13:55:25 -0400 Received: from [192.168.2.24] (p54A3243F.dip0.t-ipconnect.de [84.163.36.63]) by xhantos.de (Postfix) with ESMTP id 593239B4FE; Sat, 23 Jun 2007 19:55:44 +0200 (CEST) Message-ID: <467D5E88.502@kiesel.name> Date: Sat, 23 Jun 2007 19:55:20 +0200 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Dmitry Stogov CC: 'internals Mailing List' References: <000101c7ad89$8e4db2d0$6e02a8c0@thinkpad> In-Reply-To: <000101c7ad89$8e4db2d0$6e02a8c0@thinkpad> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] FW: php fastcgi From: alex@kiesel.name (Alex Kiesel) Dmitry Stogov schrieb: > Hi, > > 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? Is there any change to change Apache(2)-Sapi dependent code, so that the HTTP status is propagated to the Apache process and an ErrorDocument will be triggered [1]? Otherwise, the user still ends up with a blank page... [1] http://www.thescripts.com/forum/thread644678.html Regards, -Alex