Ad Widget

Collapse

Zabbix 7.0.26 update on ubuntu 22.04

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steingat
    Junior Member
    • May 2026
    • 1

    #1

    Zabbix 7.0.26 update on ubuntu 22.04

    Anyone else having issues with this build? Attempting to upgrade to it seems to kill the front end, either Apache2 service fails to start or PHP does not appear to function correctly.

    APT does throw one error. Was able to revert back to 7.0.25 via APT downgrade commands and that seemed to fix the issue, also reverted a snapshot back to two days ago, install all updates except zabbix, and then tried the zabbix update again, same results.

    Setting up zabbix-server-mysql (1:7.0.26-1+ubuntu22.04) ...
    Setting up zabbix-sql-scripts (1:7.0.26-1+ubuntu22.04) ...
    Setting up zabbix-frontend-php (1:7.0.26-1+ubuntu22.04) ...
    Setting up zabbix-agent (1:7.0.26-1+ubuntu22.04) ...
    Setting up zabbix-apache-conf (1:7.0.26-1+ubuntu22.04) ...
    Installing new version of config file /etc/zabbix/apache.conf ...
    realpath: '/etc/php/*/fpm/pool.d': No such file or directory
    Processing triggers for man-db (2.10.2-1) ...
    Log ended: 2026-05-05 20:32:24
  • elpengo
    Junior Member
    • May 2026
    • 1

    #2
    Hello,

    I had mostly the same issue on debian 13 as the frontend url shows php sources and figured out that the package in cause seems to be zabbix-apache-conf 7.0.26.

    The package await a php-fpm installation and not a "classic" apache with mod_php (MPM Prefork) while installing its own conf file /etc/apache2/conf-available/zabbix.conf
    Code:
    <FilesMatch \.(php|phar)$>
            SetHandler "proxy:unix:/var/run/php/zabbix.sock|fcgi://localhost"
    </FilesMatch>​
    If you have your own vhost configuration to serve zabbix frontend, disabling the zabbix package configuration via this apache command fix the problem :
    Code:
    a2disconf zabbix && systemctl reload apache2

    Comment

    • svbuser
      Junior Member
      • May 2026
      • 1

      #3
      my solution was

      a2enmod proxy
      a2enmod proxy_fcgi
      apt install php8.1-fpm
      nano /etc/apache2/conf-enabled/zabbix.conf
      systemctl restart apache2​

      in zabbix.conf

      -- proxy:unix:/var/run/php/zabbix.sock|fcgi://localhost
      ++ proxy:unix:/var/run/php/php8.1-fpm.sock|fcgi://localhost

      Comment

      Working...