Ad Widget

Collapse

date(): Error Mesgdate(): It is not safe to rely on the system's timezone settings.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • keogk
    Junior Member
    • Oct 2012
    • 1

    #1

    date(): Error Mesgdate(): It is not safe to rely on the system's timezone settings.

    I have a fresh CentOS 6.3 x64 install. Zabbix 2.0.3
    When I log in I have the following all over the Zabbix pages
    date(): 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.

    I have checked my /etc/php.ini and I have America/New_York
    On the Zabbix install page when it does the check it shows that America/New_York is selected.
    This is the info I have listed in my info.php page for Time
    Directive Local Value Master Value
    date.default_latitude 31.7667 31.7667
    date.default_longitude 35.2333 35.2333
    date.sunrise_zenith 90.583333 90.583333
    date.sunset_zenith 90.583333 90.583333
    date.timezone America/New York America/New York

    I do not have any other php.ini files that I can find
    Do I need to set this some other place?
Working...