Ad Widget

Collapse

Apache Web Front End Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abargiotti
    Junior Member
    • Jun 2022
    • 5

    #1

    Apache Web Front End Error

    Good morning.
    Yesterday I update Zabbix from 5.2.7 to 6.0.5 and it seemed all was ok.
    I followed the official zabbix update manual and I completed well all step.
    When i try to start the web fe (http://ipaddress/zabbix/) I received an error: minimum PHP 7.4 is needed (or sometingh like that).
    The php version is 7.4.28.
    I tried to install the php-common and it remove all the php7.3 module............
    After that the error changed: now I have the php page attached.
    Could you please help me?

    Thanks,
    Andrea
    Attached Files
  • vladimir_lv
    Senior Member
    • May 2022
    • 240

    #2
    Let's make a quick test. In any text editor, create a new file test.php and type:
    <?php
    phpinfo() ;
    ?>
    Put this file to /usr/share/zabbix
    Open url http://your_zabbix_host/zabbix/test.php in browser.
    Click Enter. If the web server supports PHP, you should see a screen filled with information and a PHP logo at the top. If you don't see it, your server doesn't have PHP or PHP is not started properly.

    Comment

    • abargiotti
      Junior Member
      • Jun 2022
      • 5

      #3
      Hi Vladimir.
      Thanks for your kindly reply.
      I followed your suggestion, and I had to install php-fpm.
      After that, the issue was changed in a DB problem as the attachment.

      Ciao,
      Andrea Click image for larger version

Name:	Acquisisci schermata Web_6-6-2022_234123_10.10.10.111.jpg
Views:	544
Size:	415.3 KB
ID:	445681 ​​​​​​​

      Comment

      • vladimir_lv
        Senior Member
        • May 2022
        • 240

        #4
        This message means that DB version is 6.0, but data version is 6.2. You can check your DB version using query select * from dbversion;
        mandatory integer Mandatory version of the DB
        If different from expected, frontend will refuse to work
        If lower than known version, server will try to upgrade the db
        optional integer Optional version of the DB
        If different from expected, frontend will still work
        If lower than known version, server will try to upgrade the db
        Last edited by vladimir_lv; 07-06-2022, 12:25.

        Comment

        Working...