Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-24117

zabbix-frontend-php depends on php-mysql instead of php-mysqli

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.4.11
    • Packages (C)
    • None
    • Debian AMD64

      Steps to reproduce:

      1. Add the debian repository "http://repo.zabbix.com/zabbix/6.4/debian bookworm main"
      2. Run "apt update"
      3. Run "apt-cache show zabbix-frontend-php"

      Result:

      Package: zabbix-frontend-php
      Source: zabbix
      Version: 1:6.4.11-1+debian12
      Architecture: all
      Maintainer: Zabbix Packager <[email protected]>
      Installed-Size: 39746
      Depends: php-mysql | php-pgsql, php-mbstring, php-bcmath, php-xml, php-gd, php-ldap, fonts-dejavu | ttf-dejavu-core | ttf-japanese-gothic
      Suggests: zabbix-apache-conf, zabbix-nginx-conf
      Homepage: https://www.zabbix.com
      Priority: optional
      Section: net
      Filename: pool/main/z/zabbix/zabbix-frontend-php_6.4.11-1+debian12_all.deb
      Size: 7707896
      SHA256: a140f8cf0d437f79ff03e63e5bd8ac3cc5000efc9def2062fb17cdea449a3029
      SHA1: e52e9df487f6ee5a2604fba9c1be0d66eeb0f2cd
      MD5sum: 11092e1bd3f7f9f7b60d81eb9688bbe7
      Description: Zabbix network monitoring solution - PHP front-end
       Zabbix is the ultimate enterprise-level software designed for
       real-time monitoring of millions of metrics collected from tens of
       thousands of servers, virtual machines and network devices.
       .
       This package provides a web-browsable front-end to the Zabbix server, which
       can display graphs of the data collected from clients.
      Description-md5: cb0e36e8e4b96c5bbddd4449b5e6cfd3
      

      As you can see the frontend package depends on "php-mysql | php-pgsql".

      This "mysql" module was removed from PHP 7.4 and zabbix actually uses mysqli.

      So the correct depends should be "php-mysqli | php-pgsql".

      Expected:
      "Depends: php-mysqli | php-pgsql, ..." instead of "Depends: php-mysql | php-pgsql, ..."

            zabbix.dev Zabbix Development Team
            EllerholdIT Ellerhold IT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: