Re: date.timezone E_WARNING -- Really necessary? What's the rationale?
| From: | Johannes Schlüter | Date: | Fri, 24 May 2013 08:34:02 +0000 |
| Subject: | Re: date.timezone E_WARNING -- Really necessary? What's the rationale? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67484@lists.php.net to get a copy of this message | ||
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.
johannes