Re: date.timezone E_WARNING -- Really necessary? What's the rationale?
| From: | Leszek Krupiński | Date: | Fri, 24 May 2013 08:45:30 +0000 |
| Subject: | Re: date.timezone E_WARNING -- Really necessary? What's the rationale? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67486@lists.php.net to get a copy of this message | ||
On 2013-05-24 10:34, Johannes Schlüter wrote:
On Fri, 2013-05-24 at 01:16 -0700, Kris Craig wrote:Yet it's not uncommon for yum/apt-get/whatever to ask for input (like mentioned MySQL asking for root password). --LeszekCouldn'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 phpto be the whole installation process.