-
Problem report
-
Resolution: Fixed
-
Trivial
-
6.2.7
-
SUSE Linux Enterprise 15 SP4
-
Sprint 98 (Mar 2023), Sprint 99 (Apr 2023), Sprint 100 (May 2023)
-
1
Since Zabbix 6.2 supports PHP8, the RPM packages (at least for Suse) should depend on either php7 or php8 packages and not only php7. Currently they require
php7-bcmath >= 7.4
php7-gd >= 7.4
php7-gettext >= 7.4
php7-ldap >= 7.4
php7-mbstring >= 7.4
php7-sockets >= 7.4
php7-zlib >= 7.4
SUSE Linux Enterprise 15 SP4 for example, is shipped with PHP8.0. PHP7 is by default not available unless you activate the legacy software module.
Currently when trying to install zabbix-web-deps on SLES15SP4, even with
}}{{ }}{{php8-bcmath
php8-gd
php8-gettext
php8-ldap
php8-mbstring
php8-sockets
php8-zlib
already installed, fails with:
Problem: nothing provides 'php7-bcmath >= 7.4' needed by the to be installed zabbix-web-deps-6.2.7-release1.sles15.noarch
Steps to reproduce:
- Set up a clean SLES15 SP4 machine
- zypper install https://repo.zabbix.com/zabbix/6.2/sles/15/x86_64/zabbix-release-6.2-2.sles15.noarch.rpm
- zypper ref
- zypper install zabbix-web-deps
Result:
Problem: nothing provides 'php7-bcmath >= 7.4' needed by the to be installed zabbix-web-deps-6.2.7-release1.sles15.noarch
Expected:
pull in php8 dependencies and install
Is it possible to depend on either php7 or php8 depending on availability ? If not, it may be better to provide a separate repo for SLES 15 SP3 vs SLES 15 SP4