Re: Declare minimum PHP version required?

From: Date: Wed, 05 Feb 2014 12:43:28 +0000
Subject: Re: Declare minimum PHP version required?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Feb 5, 2014 1:34 PM, "Lester Caine" <[email protected]> wrote:
>
> Pierre Joye wrote:
>>
>> But the key point remains the same, no error should be displayed in
>> production (whatever hosting is used), this is well documented since
>> years. I have some hard time to understand why we keep having to
>> explain why. If the documentation needs improvements, then let try to
>> fix it. But adding yet another option to finally do something that we
>> try to prevent since years does not sound very appealing to me.
>
>
> I get it that all user gets is a white screen because that is what has
been documented to returned. In the past we at least got something, but in
these modern times IS a blank screen really an acceptable return? If it was
just returning messy displays it would at least be something and we can
then build on that to get things working properly.
>
> A number of my customers have come to me because they got no help from
their ISP's and other ISP's switched back to older versions of PHP because
too many sites simply broke. They don't have enough staff to fix PHP code
and it's not their job? One of the best ways of getting the PHP5.2 sites
updated is providing a default setup that minimizes the occurrence of a
blank page. As Yasuo says 'even just a warning page'. With a blank page
would a simple user even know that PHP has anything to do with why it's
blank?

It is not a php problem per se. Php cannot do anything after a fatal error
or a crash.

It takes 5 mins to any admin (7 for non Admin) to setup a default error
page, in any webserver. And it does exactly what you suggest.

Cheers,
Pierre


Thread (50 messages)

« previous php.internals (#72271) next »