[ZBX-24117] zabbix-frontend-php depends on php-mysql instead of php-mysqli Created: 2024 Feb 19  Updated: 2024 Feb 20

Status: Confirmed
Project: ZABBIX BUGS AND ISSUES
Component/s: Packages (C)
Affects Version/s: 6.4.11
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Ellerhold IT Assignee: Zabbix Development Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian AMD64



 Description   

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, ..."



 Comments   
Comment by Ellerhold IT [ 2024 Feb 19 ]

See https://support.zabbix.com/browse/ZBX-6020?focusedCommentId=86089&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

In this ticket zabbix-frontend-php switched to mysqli.

Generated at Thu Apr 03 10:24:16 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.