Zabbix logout fails with 500 Internal error with PHP7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zabbix (Ubuntu) |
New
|
Undecided
|
Nish Aravamudan |
Bug Description
Error message:
:error PHP Fatal error: Uncaught TypeError: Argument 2 passed to CFrontendApiWra
There are two ways to fix that issue (partially):
* Some kind of fix available to get that function running on PHP7, see https:/
* Zabbix does not support PHP7, but no PHP<7 package available on Xenial. As the undefined API behaviour might also trigger many hidden bugs - and some of them might have a security impact, like a broken session termination/logout definitely is - this should be at least told the user e.g. by Zabbix failing to start after update unless user sets config variable "$EnableBuggyAn
# lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy zabbix-frontend-php
zabbix-
Installed: 1:2.4.7+
Candidate: 1:2.4.7+
Version table:
*** 1:2.4.7+
500 http://
100 /var/lib/
1:
500 http://
information type: | Private Security → Public Security |
information type: | Public Security → Public |
I will take a look if I can find the upstream fix for this -- I have done some cursory updating to the zabbix package for PHP7 compatibility, from upstream backports.