Ad Widget

Collapse

New bro Zabbix need help, problem with start server..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Unrealol
    Junior Member
    • Aug 2019
    • 1

    #1

    New bro Zabbix need help, problem with start server..

    Hello.. I have Ubuntu 18.04 and try start zabbix for looking what is that.. Use this guide https://www.zabbix.com/download?zabb...ionic&db=mysql and have problem like this

    PHP version 7.2.19-0ubuntu0.18.04.2 5.4.0 OK
    PHP option "memory_limit" 128M 128M OK
    PHP option "post_max_size" 16M 16M OK
    PHP option "upload_max_filesize" 2M 2M OK
    PHP option "max_execution_time" 300 300 OK
    PHP option "max_input_time" 300 300 OK
    PHP option "date.timezone" unknown Fail
    PHP databases support MySQL OK

    Check of pre-requisites
    Error: Time zone for PHP is not set (configuration parameter "date.timezone").

    i try use google, for find answer, but my luck so bad for this...

    Find some (.conf) files with settings and what i see:

    /etc/zabbix/apache.conf

    <IfModule mod_php5.c>
    php_value max_execution_time 300
    php_value memory_limit 128M
    php_value post_max_size 16M
    php_value upload_max_filesize 2M
    php_value max_input_time 300
    php_value max_input_vars 10000
    php_value always_populate_raw_post_data -1
    php_value date.timezone Europe/Moscow
    </IfModule>

    I try user this :
    # systemctl restart zabbix-server zabbix-agent apache2
    # systemctl enable zabbix-server zabbix-agent apache2
    and restart all system..

    What i need to do, for repair this issue with "PHP option "date.timezone" unknown Fail"
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Hi, based on your output, you have PHP version 7.2.19, but you have modified PHP version 5 configuration section. Recheck /etc/zabbix/apache.conf, there should be a similar configuration section for PHP 7.

    Markku

    Comment


    • Unrealol
      Unrealol commented
      Editing a comment
      Oh, thank you mate for help, i need be more attentive... Now all work fine!
Working...