← Back to team overview

touch-packages team mailing list archive

[Bug 1336713] Re: Nginx+PHP-FPM - Apache gets installed automatically on PHP update

 

Can anyone confirm whether this happens with the `php5` metapackage
actually in the 'installed' state prior to the update, or whether this
happened with only `php5-fpm` installed?

We also need more steps to reproduce this before we can more thoroughly
start examining and testing.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1336713

Title:
  Nginx+PHP-FPM - Apache gets installed automatically on PHP update

Status in apt package in Ubuntu:
  Incomplete
Status in php5 package in Ubuntu:
  Incomplete

Bug description:
  [Status]

  Cannot reproduce. This bug will not make any progress until someone
  affected can provide exact and detailed steps to reproduce the problem
  from a fresh Ubuntu Server installation or cloud image.

  [Original Description]

  This was originally posted as a question. See: https://answers.launchpad.net/ubuntu/+source/php5/+question/250691
  ---

  My 14.04 machine that runs Nginx with PHP-FPM received updates for PHP
  and somehow Apache was automatically installed.

  Here is an excerpt from APT history log:
  Install: libapache2-mod-php5:amd64 (5.5.9+dfsg-1ubuntu4.1, automatic), libaprutil1-dbd-sqlite3:amd64 (1.5.3-1, automatic), libaprutil1-ldap:amd64 (1.5.3-1, automatic), apache2-data:amd64 (2.4.7-1ubuntu4, automatic), apache2:amd64 (2.4.7-1ubuntu4, automatic), apache2-bin:amd64 (2.4.7-1ubuntu4, automatic)

  Looking at the dependencies for the php5 package I don't understand why this happened:
  Depends: libapache2-mod-php5 (>= 5.5.9+dfsg-1ubuntu4.1) | libapache2-mod-php5filter (>= 5.5.9+dfsg-1ubuntu4.1) | php5-cgi (>= 5.5.9+dfsg-1ubuntu4.1) | php5-fpm (>= 5.5.9+dfsg-1ubuntu4.1), php5-common (>= 5.5.9+dfsg-1ubuntu4.1)

  With Nginx configured to listen on port 80, this unwanted Apache
  installation would interfere at startup (this exactly happened
  sometime ago on an older release). I don't think that this behaviour
  is correct.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1336713/+subscriptions