[ZBX-12492] Debian/Ubuntu: remove apache/php5 dependencies from zabbix-frontend-php Created: 2017 Aug 08  Updated: 2017 Aug 24  Resolved: 2017 Aug 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Installation (I)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Minor
Reporter: Kirill Shtrykov Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-6941 Debian/Ubuntu: remove apache/php5 dep... Closed

 Description   

Zabbix-frontend-php is just a number of scripts written in php, they shouldnt require apache2.

There are many other webservers like lightttpd, nginx, microhttpd, etc.

Currently zabbix-frontend-php depends on (Debian Squeeze):

Dependencies: debconf (>= 0.5) | debconf-2.0, apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, ucf, dbconfig-common (>= 1.8.19), ttf-dejavu-core | ttf-japanese-gothic

Would be nice to remove apache2 | httpd or add other webservers there (e.g. nginx, lighttpd).

php5 is an apache php5 module as well, would be nice to get php5 | php5-fpm, so the resulting dep tree would look like:

Dependencies: debconf (>= 0.5) | debconf-2.0, apache2 | httpd | nginx | lighttpd, php5 | php5-fpm, php5-mysql | php5-pgsql, php5-gd, ucf, dbconfig-common (>= 1.8.19), ttf-dejavu-core | ttf-japanese-gothic

Thanks!

So it would be nice to



 Comments   
Comment by Kirill Shtrykov [ 2017 Aug 08 ]

I can clone issue (ZBX-6941), but can't change clone, sorry.
I have same problem with Package: zabbix-frontend-php Version: 1:3.2.7-1+xenial

# apt install zabbix-frontend-php nginx php-fpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php-fpm is already the newest version (1:7.0+35ubuntu6).
nginx is already the newest version (1.10.3-0ubuntu0.16.04.2).
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom php-pear
The following NEW packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php libapache2-mod-php7.0 zabbix-frontend-php
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,359 kB of archives.
After this operation, 23.9 MB of additional disk space will be used.

Repo/package: http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb

# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial
Comment by Kodai Terashima [ 2017 Aug 09 ]

php 7.0 on xenial has bit complex dependencies between php packages. Please try:

apt-get install zabbix-frontend-php php7.0 php-fpm nginx
Comment by Kirill Shtrykov [ 2017 Aug 09 ]

Oh, it's works! Thank you!

Generated at Fri May 09 08:00:15 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.