Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53064 invoked from network); 27 Jan 2015 10:48:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 10:48:58 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.182 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 74.125.82.182 mail-we0-f182.google.com Received: from [74.125.82.182] ([74.125.82.182:64838] helo=mail-we0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/17-18778-81D67C45 for ; Tue, 27 Jan 2015 05:48:56 -0500 Received: by mail-we0-f182.google.com with SMTP id l61so14080302wev.13 for ; Tue, 27 Jan 2015 02:48:53 -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=BhKekjbsLZJ3GzrUcNC5thtGLKc5gfIbC9aLtdF+tAg=; b=kAz8W2HF/TqONZrwMhB08OWqLyDL2AEYLLDTCtN/yOBPmpjVHNclxTYRwnjzhAAvEH hf2O8VGEXKE4g4KtY7EVg68mi8PEayej5GwOM4LumkYxfA2mUxSOR+WjXyWccrNXFnOO mGtCCvfbybnlvur4vldXIJOFJKrG8PXiyCeLR8jKRAwlmQvvOJlfo0zATWuWJiMPR9kO fOg5b6WjczKf+nNr/LD4Dz7Osoasz1ShMeRTwfewtP1zHOPU63qSqYcjJmecA6XRTzrV 48A4Oe2mqMYuEs3P1HExDm6rFDYcMedI3CrOQrCHBEmiM9F9yUKoy8WPJSyQrKbNkk/R iYSA== MIME-Version: 1.0 X-Received: by 10.180.198.74 with SMTP id ja10mr4636977wic.52.1422355733367; Tue, 27 Jan 2015 02:48:53 -0800 (PST) Received: by 10.27.10.138 with HTTP; Tue, 27 Jan 2015 02:48:53 -0800 (PST) In-Reply-To: <54C732F3.8050304@beccati.com> References: <54C732F3.8050304@beccati.com> Date: Tue, 27 Jan 2015 11:48:53 +0100 Message-ID: To: Matteo Beccati Cc: Bob Weinand , PHP Internals Content-Type: multipart/alternative; boundary=047d7b62498c3b5216050da000fb Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: nikita.ppv@gmail.com (Nikita Popov) --047d7b62498c3b5216050da000fb Content-Type: text/plain; charset=UTF-8 On Tue, Jan 27, 2015 at 7:40 AM, Matteo Beccati wrote: > On 27/01/2015 01:34, Bob Weinand wrote: > >> Hey, >> >> I'd like to request removal of the date.timezone warning. >> >> Here is the RFC: >> https://wiki.php.net/rfc/date.timezone_warning_removal < >> https://wiki.php.net/rfc/date.timezone_warning_removal> >> > > The warning is certainly annoying, but making it default to UTC or a wrong > timezone because the right one can't be guessed is a major WTF. > > Ideally the initial setup of php.ini could be handled by the distro > package system, if it's not already? > > > Cheers Isn't UTC the only "right" default timezone there is for a server? Everything else being there to simplify implementation of websites which anticipate a geographically narrow target audience? Anyway, I absolutely don't get why out of all the hundreds of ini settings that we have, some of them vastly more important than setting a timezone (like display_errors or error_reporting - newbies trip over these much more often), the only one we actually require you to specify is date.timezone. That seems very disproportional. Nikita --047d7b62498c3b5216050da000fb--