Re: Internal server error on PHP syntax error?

From: Date: Mon, 13 Feb 2012 23:15:50 +0000
Subject: Re: Internal server error on PHP syntax error?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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/



Thread (7 messages)

« previous php.internals (#57838) next »