Ad Widget

Collapse

Zabbix Web Interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • welaish
    Junior Member
    • Jun 2019
    • 6

    #1

    Zabbix Web Interface

    After Upgrading to 7.2 I cannot reach the zabbix interface. Server is working fine and data base is upgraded successfully. but whenever I try to access the login page I get the below. everything seems perfect in place. I guess its Apache error but I am clueless how to solve this problem.

    Code:
    <?php
    /*
    ** Copyright (C) 2001-2024 Zabbix SIA
    **
    ** This program is free software: you can redistribute it and/or modify it under the terms of
    ** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
    **
    ** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
    ** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    ** See the GNU Affero General Public License for more details.
    **
    ** You should have received a copy of the GNU Affero General Public License along with this program.
    ** If not, see <https://www.gnu.org/licenses/>.
    **/
    
    
    require_once dirname(__FILE__).'/include/config.inc.php';
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    I looks like apache isn't parsing php files if you see this.
    Check if php is still installed and maybe restart apache? (I'm no linux guru)

    Comment

    • welaish
      Junior Member
      • Jun 2019
      • 6

      #3
      Originally posted by Brambo
      I looks like apache isn't parsing php files if you see this.
      Check if php is still installed and maybe restart apache? (I'm no linux guru)
      Fixed with 2 commands. it seems that the apache stays linked somehow to the old verion 7.4

      Code:
      sudo a2enmod php8.1
      sudo systemctl restart apache2

      Comment

      Working...