Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81244 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99351 invoked from network); 27 Jan 2015 15:27:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 15:27:57 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:34512] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/07-59067-A7EA7C45 for ; Tue, 27 Jan 2015 10:27:56 -0500 Received: (qmail 16265 invoked from network); 27 Jan 2015 15:27:49 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 27 Jan 2015 15:27:49 -0000 Message-ID: <54C7AE69.3090400@beccati.com> Date: Tue, 27 Jan 2015 16:27:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bob Weinand CC: Nikita Popov , Derick Rethans , PHP Internals References: <54C732F3.8050304@beccati.com> <54C77B5C.5010000@beccati.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: php@beccati.com (Matteo Beccati) On 27/01/2015 15:12, Bob Weinand wrote: > If you use the distros default, it often is UTC too. Then we have > this same issue, just without warning. This warning often doesn't > help at all, because it just doesn't appear at all. Well, if the distro sets display_errors = Off but doesn't also set a proper timezone, I would dare to say it's a bug in their packages. Vanilla PHP doesn't do that; it does if you blindly use php.ini-production, but then it's your own fault if you don't set it. Actually, the example ini files could even start with a friendly reminder that date.timezone should be set. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/