On Tue, Jan 27, 2015 at 12:22 PM, Derick Rethans <der...@php.net> wrote:
> > Everything else being there to simplify implementation of websites > > which anticipate a geographically narrow target audience? > > > > Anyway, I absolutely don't get why out of all the hundreds of ini > > settings that we have, some of them vastly more important than setting > > a timezone (like display_errors or error_reporting - newbies trip over > > these much more often), the only one we actually require you to > > specify is date.timezone. That seems very disproportional. > > But easily solved by distributions. Debian could easily stick the > following in a post-install hook to fix it: > > echo -n 'date.timezone=' > /etc/php/config.d/date.ini > cat /etc/timezone >> /etc/php/config.d/date.ini > So let the distros solve it ... and allow PHP to still be usable without an ini file. Nikita