Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 809 invoked from network); 13 Feb 2012 23:11:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2012 23:11:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:51104] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/E7-61403-B88993F4 for ; Mon, 13 Feb 2012 18:11:07 -0500 Received: by werm1 with SMTP id m1so4437595wer.29 for ; Mon, 13 Feb 2012 15:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AK0VpYm+eAPaHNF509S3PV87YUEmSLvUtq05pj/rAhc=; b=YIcZjJOBnlV6UuHFfwoWXk8KZLfljYXeSwAyirFck3094NSRhUXSgAkoVeKxUu9dSW 0mhyhOs5h9SX9d6uW0ZzPWqVj2d4bPyzOlUwfDEj8oqOMAlfM96zUYX89yQR4fN0rhae oH++GxmRWI4QIT4iky7Ez+I5shpOjAeXTcdR8= Received: by 10.180.95.105 with SMTP id dj9mr26889228wib.18.1329174664224; Mon, 13 Feb 2012 15:11:04 -0800 (PST) Received: from [192.168.1.26] (148.Red-88-13-203.dynamicIP.rima-tde.net. [88.13.203.148]) by mx.google.com with ESMTPS id s2sm51141505wix.3.2012.02.13.15.11.02 (version=SSLv3 cipher=OTHER); Mon, 13 Feb 2012 15:11:03 -0800 (PST) Message-ID: <4F3999A6.3020108@gmail.com> Date: Tue, 14 Feb 2012 00:15:50 +0100 User-Agent: Thunderbird MIME-Version: 1.0 To: Jakov Sosic CC: internals@lists.php.net References: <4F393F54.4040109@srce.hr> <4F394381.7060103@srce.hr> <4F39441F.4000301@thelounge.net> <4F397C96.2040901@srce.hr> In-Reply-To: <4F397C96.2040901@srce.hr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Internal server error on PHP syntax error? From: keisial@gmail.com (=?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?=) On 13/02/12 22:11, Jakov Sosic wrote: > On 02/13/2012 06:10 PM, Reindl Harald wrote: > > >> yes, but the more important is the status code so that search >> engines do not index you broken page, apache SHOULD NOT provide >> his own error-page because you can also send 500 status code >> within your script for whatever reason and want your output >> not supressed in such cases > > OK but I would like it provide it's own error page... Is it possible > somehow without patching php code and maintaining/compiling my own > version? Maybe there is an easier way. This extension allows to show your own page on PHP errors: http://svn.wikimedia.org/viewvc/mediawiki/trunk/php/wmerrors/