Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72271 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17321 invoked from network); 5 Feb 2014 12:43:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 12:43:32 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.45 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.45 mail-qa0-f45.google.com Received: from [209.85.216.45] ([209.85.216.45:38940] helo=mail-qa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 03/D6-09402-3F132F25 for ; Wed, 05 Feb 2014 07:43:32 -0500 Received: by mail-qa0-f45.google.com with SMTP id ii20so418592qab.32 for ; Wed, 05 Feb 2014 04:43:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=p9gNSefz4kzy+uba/ra0FnLMK5OaxR1/zFf19/O5U88=; b=OLp1nnxzjNn/aS29KvXPEX6IHQVyz8vhOpsjHwRvGjrLaSY49BJ0/isOByEh1JsPDS ThMr4TuvxuvG8xE9+ckMLo8y/v1Uw8clabB7tmCOwddXJJa0tcnAITZcwNjBdw44mkSV UjAoMbn3nP2+XFHxPaUIZvnzTEigoqVcQbTNVLhafwV+lUThng3VicenwKOObONLiA/8 7Je5lNrFILsLz6mPQCW+ZXU7UkMH3+f7LAPcf7ZIryFM/nPka0iueEWK1vV+QP1nkqAr f3aOS8hbVCe+4eMCu4CGmqEQzD3oG1hKdr82EnfEQaIaKbGxCoZpsclwx3vRZrDXW8UV hhDA== MIME-Version: 1.0 X-Received: by 10.229.179.69 with SMTP id bp5mr2071005qcb.17.1391604208935; Wed, 05 Feb 2014 04:43:28 -0800 (PST) Received: by 10.140.18.129 with HTTP; Wed, 5 Feb 2014 04:43:28 -0800 (PST) Received: by 10.140.18.129 with HTTP; Wed, 5 Feb 2014 04:43:28 -0800 (PST) In-Reply-To: <52F23078.4040206@lsces.co.uk> References: <52EF4BF8.60005@sugarcrm.com> <52F14C66.3030806@gmail.com> <52F15B62.1070006@gmail.com> <52F20C7C.3040803@lsces.co.uk> <52F2165E.6040104@lsces.co.uk> <52F23078.4040206@lsces.co.uk> Date: Wed, 5 Feb 2014 13:43:28 +0100 Message-ID: To: Lester Caine Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c2bf4e8aaac904f1a81a7d Subject: Re: [PHP-DEV] Declare minimum PHP version required? From: pierre.php@gmail.com (Pierre Joye) --001a11c2bf4e8aaac904f1a81a7d Content-Type: text/plain; charset=UTF-8 On Feb 5, 2014 1:34 PM, "Lester Caine" 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 --001a11c2bf4e8aaac904f1a81a7d--