[Phpmyadmin-devel] Timezones warning

Herman van Rink rink at initfour.nl
Wed Jan 13 11:30:44 CET 2010


Michal Čihař wrote:
> Hi
>
> I still get warning from phpMyAdmin about timezones:
>
> Warning in ./libraries/common.inc.php#291
> date_default_timezone_get(): It is not safe to rely on the system's
> timezone settings. You are *required* to use the date.timezone setting
> or the date_default_timezone_set() function. In case you used any of
> those methods and you are still getting this warning, you most likely
> misspelled the timezone identifier. We selected 'Europe/Berlin' for
> 'CET/1.0/no DST' instead
>
> Backtrace
>
> ./libraries/common.inc.php#291: date_default_timezone_get()
> ./main.php#13: require_once(./libraries/common.inc.php)
>
> And I started to think if it would not be better to make timezone our
> configuration (in config and in store it in cookie) with default to UTC
> to get rid of this warning.
>
> I know this can be fixed by changing php.ini, but there is lot of
> people who can not do it.
>   
As long as someone with a good php.ini does not have to 'fix' it again
in the pma config I would be fine with it.
But can we determine with some certainty that the php config is correct?

-- 
Met vriendelijke groet / Regards,

Herman van Rink 
Initfour websolutions






More information about the Developers mailing list