Ad Widget

Collapse

zabbix fronetend showing "Minimum required PHP 7.2" even though php 7.2 is installed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • azxqw
    Junior Member
    • Nov 2019
    • 10

    #1

    zabbix fronetend showing "Minimum required PHP 7.2" even though php 7.2 is installed

    Hi,
    i recently updated my zabbix server to 5.0 from 3.4 on an ubuntu 18.04 machine.
    the update and the DB update went smoothly, however when i try to enter the frontend i'm greeted with the php minimum version required error.
    i checked and indeed i have php 7.2 instaled on the server, and i cant understand what the problem is.
    any help will be greatly appreciated
  • isaqueprofeta
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2020
    • 154

    #2
    Check if you have more than one version of PHP installed (maybe an old 5 or 7 installation) and ensure that php -V is 7.2 and the binary is on your PATH.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Is your web server set up to work with PHP 7.2? For example, is the following code named phpinfo.php etc., placed in the Zabbix contents directory, and is it confirmed that the version is 7.2 or higher when accessed from a web browser?

      code:
      Code:
      <?php
      phpinfo();
      ?>
      URL:

      Comment

      • azxqw
        Junior Member
        • Nov 2019
        • 10

        #4
        the code returns this - "PHP Version 7.0.33-0ubuntu0.16.04.15"
        how do i set it up to 7.2?

        Comment

        • azxqw
          Junior Member
          • Nov 2019
          • 10

          #5
          never mind i managed
          thank you!

          Comment

          Working...