Re: date.timezone E_WARNING -- Really necessary? What's the rationale?
| From: | Stas Malyshev | Date: | Wed, 28 Aug 2013 21:43:16 +0000 |
| Subject: | Re: date.timezone E_WARNING -- Really necessary? What's the rationale? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68655@lists.php.net to get a copy of this message | ||
Hi!
> * Set date.timezone = UTC as the default INI value
> * In php.ini-production and php.ini-development uncomment the
> ;date.timezone =
> line, i.e. change it to
> date.timezone =
I think this is fine but for the distros that ship with empty php.ini
it'd still produce a warning. But I think enabling zero-ini to run
without warnings (with whatever defaults there are) is a good idea.
Maybe still worth having RFC and a vote on it.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227