[php-maint] Bug#797350: Bug#797350: libapache2-mod-php5: All php modules and the apache module are re-enabled on update

Ondřej Surý ondrej at sury.org
Sun Sep 13 19:29:47 UTC 2015

Control: severity -1 minor
Control: retitle -1 Improve the documentation on module management

On Sun, Sep 13, 2015, at 18:43, Bachsau wrote:
> Ondřej Surý wrote on 30.08.2015 14:54:
> > how did you _disable_ the modules?
> By deleting the links I think. However I'm especialy talking about this 
> behavior shown on my terminal during updates:

You have to disable the modules by using php5dismod helper tool, so the
module state is kept between upgrades. Otherwise they will be re-enabled
during the updates by design. However I agree that the documentation on
module management from system administrator perspective could be

> apache2_switch_mpm prefork: No action required
> apache2_invoke: Enable module php5
> Such things should be left to the local administrator and never be done 
> automatically, even on install.

Nope, that's not how things are done in Debian. If you don't want the
module enabled, you don't install it.

Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

More information about the pkg-php-maint mailing list