[php-maint] Bug#834092: libapache2-mod-php7.0: Need to declare dependency on mpm_prefork in php7.0.load

Stefan Fritsch sf at sfritsch.de
Thu Aug 11 20:00:34 UTC 2016


Package: libapache2-mod-php7.0
Version: 7.0.9-2
Severity: normal

If the admin

  * installs mod_php
  * disables it
  * switches to a threaded mpm
  * enables it again some time later

apache2 will fail to start with "Apache is running a threaded MPM, but
your PHP Module is not compiled to be threadsafe.  You need to recompile
PHP."

If you put a "# Depends: mpm_prefork" into the php7.0.load file, the
"a2enmod php7.0" will already fail with a better error message.



More information about the pkg-php-maint mailing list