Ad Widget

Collapse

Time zone

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krzysiekkurowski
    Junior Member
    • Nov 2010
    • 2

    #1

    Time zone

    Hi I install zabbix but when I open website showing
    PHP Code:
    date() [<a href='function.date'>function.date</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'UTC' for 'GMT/0.0/no DST' instead[/usr/local/share/zabbix/include/page_header.php:139] 
    I already changed time zone (Europe/London) in php.ini (/etc/php.ini) centos

    when I loading phpinfo showing correct time zone,

    Please give me advise
  • nelsonab
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2006
    • 1233

    #2
    Did you also restart apache?

    service httpd restart
    RHCE, author of zbxapi
    Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
    Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

    Comment

    • krzysiekkurowski
      Junior Member
      • Nov 2010
      • 2

      #3
      yes, I restarted apache, zabbix server mysql server and still same

      Comment

      • untergeek
        Senior Member
        Zabbix Certified Specialist
        • Jun 2009
        • 512

        #4
        Perhaps GMT will work, since that's London time. In any case, try another analog of London time.

        I noticed the same. PHP doesn't seem to complain if I say, Americas/Austin, but Zabbix did complain until I changed it to Americas/Chicago (same timezone).

        Comment

        Working...