Public bug reported:

Package "php" or "php7.2" cannot be installed without also installing
package "apache2".  But PHP can be used without an httpd, and even if
you believe that is not so or highly unlikely, package "php" will still
install "apache2" even if another package providing httpd is already
installed.

Steps to reproduce:
$ sudo apt install lighttpd  # or "nginx"
$ sudo apt install php

Expected:
The following additional packages will be installed:
  php7.2 php-common php7.2-common ...

Seen instead:
The following additional packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils ... php7.2 php-common 
php7.2-common ...

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: php7.2 (not installed)
ProcVersionSignature: Ubuntu 5.0.0-20.21-generic 5.0.8
Uname: Linux 5.0.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu27
Architecture: amd64
Date: Mon Jul  1 14:51:49 2019
InstallationDate: Installed on 2016-06-05 (1121 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: php7.2
UpgradeStatus: Upgraded to disco on 2019-04-19 (73 days ago)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2018-03-20T22:16:27.108498

** Affects: php7.2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug disco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1834963

Title:
  apache dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.2/+bug/1834963/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to