[Pkg-monitoring-maintainers] Bug#878066: ganglia-webfrontend: not compatible with PHP 7

Rike-Benjamin Schuppner rike.schuppner at bccn-berlin.de
Mon Oct 9 11:25:06 UTC 2017


Package: ganglia-webfrontend
Version: 3.6.1-3
Severity: normal

Hi,

The ganglia-webfrontend code contains calls to split() which is not
available in PHP 7 anymore (and therefore breaks on Debian 9) as can be
seen by accessing http://localhost/ganglia/api/host.php?action=list.

A quick fix seems to be to replace split() with explode() in
/usr/share/ganglia-webfrontend/api/host.php.



-- System Information:
Debian Release: 9.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ganglia-webfrontend depends on:
ii  apache2 [httpd-cgi]                         2.4.25-3+deb9u3
ii  debconf                                     1.5.61
ii  libapache2-mod-php                          1:7.0+49
ii  libapache2-mod-php7.0 [libapache2-mod-php]  7.0.19-1
ii  php-xml                                     1:7.0+49
ii  php7.0 [php]                                7.0.19-1
ii  php7.0-xml [php-xml]                        7.0.19-1
ii  rrdtool                                     1.6.0-1+b2

Versions of packages ganglia-webfrontend recommends:
ii  gmetad              3.6.0-7+b1
ii  php-gd              1:7.0+49
ii  php7.0-gd [php-gd]  7.0.19-1

ganglia-webfrontend suggests no packages.

-- debconf information excluded



More information about the Pkg-monitoring-maintainers mailing list