Ad Widget

Collapse

Zabbix Frontend Error: Minimum required PHP version is 7.2.0.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hernan
    Member
    • Sep 2016
    • 67

    #1

    Zabbix Frontend Error: Minimum required PHP version is 7.2.0.

    Hello guys, I have the following error:

    Environment: Ubuntu 18.04 - Zabbix Server 5.0.1

    1) I upgrade from Ubuntu 16.04 to 18.04.

    2)After that I checked the php version:

    **************
    pepe@zabbixserver:/etc/zabbix$ php -version
    PHP 7.2.24-0ubuntu0.18.04.6 (cli) (built: May 26 2020 13:09:11) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.24-0ubuntu0.18.04.6, Copyright (c) 1999-2018, by Zend Technologies
    pepe@zabbixserver:/etc/zabbix$
    **************

    3) The database was upgraded without problem:

    ************
    3556:20200624:080729.268 syncing history data in progress...
    3554:20200624:080729.270 syncing history data... 100.000000%
    3554:20200624:080729.270 syncing history data done
    3546:20200624:080730.045 syncing trend data...
    3546:20200624:080731.871 syncing trend data done
    3546:20200624:080731.910 Zabbix Server stopped. Zabbix 5.0.1 (revision c2a0b03480).
    6499:20200624:080955.567 Starting Zabbix Server. Zabbix 5.0.1 (revision c2a0b03480).
    6499:20200624:080955.568 ****** Enabled features ******
    6499:20200624:080955.568 SNMP monitoring: YES
    6499:20200624:080955.568 IPMI monitoring: YES
    6499:20200624:080955.568 Web monitoring: YES
    6499:20200624:080955.568 VMware monitoring: YES
    6499:20200624:080955.568 SMTP authentication: YES
    6499:20200624:080955.568 ODBC: YES
    6499:20200624:080955.568 SSH support: YES
    6499:20200624:080955.568 IPv6 support: YES
    6499:20200624:080955.568 TLS support: YES
    6499:20200624:080955.568 ******************************
    6499:20200624:080955.568 using configuration file: /etc/zabbix/zabbix_server.conf
    6499:20200624:080956.126 current database version (mandatory/optional): 05000000/05000000
    6499:20200624:080956.126 required mandatory version: 05000000
    6499:20200624:080956.127 Zabbix supports only "utf8" character set. Database "zabbix" has default character set "latin1"
    6499:20200624:080956.127 Zabbix supports only "utf8_bin" collation. Database "zabbix" has default collation "latin1_swedish_ci"
    6499:20200624:080956.180 character set name or collation name that is not supported by Zabbix found in 421 column(s) of database "zabbix"
    6499:20200624:080956.180 only character set "utf8" and collation "utf8_bin" should be used in database
    6499:20200624:080956.187 database is not upgraded to use double precision values
    ********************

    4)I cleanned the browser cache but after that I received the follwoing error message:

    *******************
    Minimum required PHP version is 7.2.0.
    *******************

    Could you please help me with the issue?

    Thanks in advance.

    Regards.

    Last edited by hernan; 24-06-2020, 13:41.
  • sfl
    Junior Member
    • Jun 2016
    • 26

    #2
    Hi

    It seems to have an issue in character set of database. Only utf8 is supported

    Hope this helps
    Sfl

    Envoyé de mon SM-G950F en utilisant Tapatalk

    Comment

    • hernan
      Member
      • Sep 2016
      • 67

      #3
      Originally posted by sfl
      Hi

      It seems to have an issue in character set of database. Only utf8 is supported

      Hope this helps
      Sfl

      Envoyé de mon SM-G950F en utilisant Tapatalk
      Hello Guys, I fix my problem following the next procedure:

      *****************
      - apt-get install libapache2-mod-php
      - a2enmod php7.2
      - sudo a2dismod mpm_event
      - sudo a2enmod mpm_prefork
      - service apache2 restart
      *****************
      I found this procedure serching on the forum:

      https://www.zabbix.com/forum/en-fran...ec-le-frontend

      Thanks in advance.

      Regards

      Comment

      • sfl
        Junior Member
        • Jun 2016
        • 26

        #4
        Well done;-)
        French zabbix users are awesome ah ah ah

        Envoyé de mon SM-G950F en utilisant Tapatalk

        Comment

        • c1support
          Member
          • Apr 2020
          • 47

          #5
          Thank you so much, this did the trick.

          For some reason, my apache2 service refused to start after this. So I had to modify the contents of /etc/apache2/mods-enabled/ as follows:
          Code:
          sudo mv php7.2* ~
          More precisely (I was just being catious), more appropiate would be:
          Code:
          sudo rm php7.2*
          My situation is probably rather special, since I migrated from Ubuntu 16.04 via 18.04 to 20.04 (still running Zabbix 4.4).
          Then, following the migration procedures (https://www.zabbix.com/documentation.../debian_ubuntu), I ended up with Zabbix Frontend Error: Minimum required PHP version is 7.2.0.

          What did not help either was that I had to configure my self hosted repository (using apt-mirror for Ubuntu and wget for Zabbix).
          Probably it would also be possible to add the zabbix repo to apt-mirror, but for the time being I will leave it as is.

          => if anybody know how to add the zabbix repo to the apt-mirror, I would be very interested in implementing this.

          Comment

          Working...