Re: [RFC] Remove the date.timezone warning

From: Date: Tue, 27 Jan 2015 15:27:37 +0000
Subject: Re: [RFC] Remove the date.timezone warning
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-81244@lists.php.net to get a copy of this message
On 27/01/2015 15:12, Bob Weinand wrote:
If you use the distros default, it often is UTC too. Then we have this same issue, just without warning. This warning often doesn't help at all, because it just doesn't appear at all.
Well, if the distro sets display_errors = Off but doesn't also set a proper timezone, I would dare to say it's a bug in their packages. Vanilla PHP doesn't do that; it does if you blindly use php.ini-production, but then it's your own fault if you don't set it. Actually, the example ini files could even start with a friendly reminder that date.timezone should be set. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/

« previous php.internals (#81244) next »