Nginx+PHP-FPM - Why was Apache installed automatically?

Asked by Benjamin Tegge

Today 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), and I don't think that this correct, right?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu php5 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Benjamin Tegge (livewirebt) said :
#2

Thanks actionparsnip, that solved my question.