Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10560 invoked from network); 24 May 2013 08:45:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2013 08:45:39 -0000 Authentication-Results: pb1.pair.com header.from=leafnode@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leafnode@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.50 as permitted sender) X-PHP-List-Original-Sender: leafnode@gmail.com X-Host-Fingerprint: 209.85.214.50 mail-bk0-f50.google.com Received: from [209.85.214.50] ([209.85.214.50:37612] helo=mail-bk0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/D4-20943-1B82F915 for ; Fri, 24 May 2013 04:45:38 -0400 Received: by mail-bk0-f50.google.com with SMTP id ik8so1385552bkc.9 for ; Fri, 24 May 2013 01:45:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rujK25ew3HJYLleOghQ6G7+rNeiX6AVrWs3mg0xgHWA=; b=p7PdI3IcY4sDFX/TJwPHeRokqAt/8TT6KUCHcYt00uIqqbcJzZtTrikdX00hmVsBHf 9sp5+PDZfonq5Bx9Yy2F6YNUkIYy34OcddSoAks8590XjnLk9N7ozSBhEAm1DZ19PLKa WJgenC4hm2w0l3JovCbyL4nybYngw15NqsdcRkENfn3nglbivKZ61fVYjDeBzVpXsA+f UAdqbQmgWmUqpGNuCCOCctonKqXY/rx4YdfPGTj5N+a9DZTJwxYff6Sdx+cgMfGeFEIw 9Yp4bpQ+Teuc7k7jgyX7pTByTwFFSB2fjkoIVgjkkhCD2u0k485QV/VHx96KUT0TX6bI MP+A== X-Received: by 10.205.15.200 with SMTP id pv8mr8770229bkb.118.1369385135358; Fri, 24 May 2013 01:45:35 -0700 (PDT) Received: from [10.0.20.40] (81-18-213-39.static.chello.pl. [81.18.213.39]) by mx.google.com with ESMTPSA id cv9sm4103933bkb.5.2013.05.24.01.45.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 May 2013 01:45:34 -0700 (PDT) Message-ID: <519F28AA.2090506@gmail.com> Date: Fri, 24 May 2013 10:45:30 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?UTF-8?B?Sm9oYW5uZXMgU2NobMO8dGVy?= CC: internals@lists.php.net References: <519E77B4.2050503@sugarcrm.com> <519EFF2B.501@gmail.com> <1369384442.2381.3.camel@guybrush> In-Reply-To: <1369384442.2381.3.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale? From: leafnode@gmail.com (=?UTF-8?B?TGVzemVrIEtydXBpxYRza2k=?=) On 2013-05-24 10:34, Johannes Schlüter wrote: > On Fri, 2013-05-24 at 01:16 -0700, Kris Craig wrote: >> Couldn't we take a page from MySQL's book and have a setup script that >> prompts the admin for this (much like theirs prompts for a root password). >> A reminder to run it could be added as a nag at the end of the install; >> or, perhaps even have it give you these setup prompts at the end of make >> install. This way, any environment-specific settings we think should be >> there that don't have obvious defaults, like date.timezone, could be added >> as prompts in the setup script. This would enable even inexperienced >> admins to add these settings without cluttering-up the bugs tracker. > An estimate of >90% of our users who are actually installing PHP > themselves are using distribution packages of PHP and not our sources. > They expect `[yum|apt-get|...] install php` to be the whole installation > process. > Yet it's not uncommon for yum/apt-get/whatever to ask for input (like mentioned MySQL asking for root password). --Leszek