Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81233 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68310 invoked from network); 27 Jan 2015 11:28:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 11:28:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wg0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:60970] helo=mail-wg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/E1-59067-45677C45 for ; Tue, 27 Jan 2015 06:28:21 -0500 Received: by mail-wg0-f45.google.com with SMTP id x12so14203082wgg.4 for ; Tue, 27 Jan 2015 03:28:17 -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=fd47NzZ+xJT4UJOMdV/cFnUG1V1WLOaBxQuJS62Du60=; b=lvGTw5U/JVWnfjkjLLjOkSW+HxB55qf5vOKB7jUfn1P0AxJcfKC/DBPVAuDb+tev4x smZdkT4/9FK33GOGVZ/k4FHVQtgMYwr0aVfKvArxMuLz5wvhNOTJ6M4G5PrkBzgAwBK1 gyp9a7diEDql2HYzZNqyusDH1qHj4JuwpGj1qOS+sW864OfCBsyc7yLbFsD0fUL+NA33 kgV/JXp//iHohqBCz6rErDker9RR4WJbBEpsgswDEt59LqKIFOP91j4cwrewxBHD9vvz yV+JvSVR8IDMqc9grQsMGbLP6/Ahel0eQmS+b5E9xesxQqtfzZG9XHu64+xPRUUSTnnp b8dg== MIME-Version: 1.0 X-Received: by 10.180.39.35 with SMTP id m3mr4891143wik.3.1422358097619; Tue, 27 Jan 2015 03:28:17 -0800 (PST) Received: by 10.27.10.138 with HTTP; Tue, 27 Jan 2015 03:28:17 -0800 (PST) In-Reply-To: References: <54C732F3.8050304@beccati.com> Date: Tue, 27 Jan 2015 12:28:17 +0100 Message-ID: To: Derick Rethans Cc: Matteo Beccati , Bob Weinand , PHP Internals Content-Type: multipart/alternative; boundary=001a1134c90226f540050da08d72 Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: nikita.ppv@gmail.com (Nikita Popov) --001a1134c90226f540050da08d72 Content-Type: text/plain; charset=UTF-8 On Tue, Jan 27, 2015 at 12:22 PM, Derick Rethans wrote: > > 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. > > But easily solved by distributions. Debian could easily stick the > following in a post-install hook to fix it: > > echo -n 'date.timezone=' > /etc/php/config.d/date.ini > cat /etc/timezone >> /etc/php/config.d/date.ini > So let the distros solve it ... and allow PHP to still be usable without an ini file. Nikita --001a1134c90226f540050da08d72--