Bug#711454: libapache2-mod-php5: MPM prefork not found ... ==> ... Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: Invalid command 'Order'
reassign 711454 libapache2-mod-php5
found 711454 5.5.0~rc2+dfsg-2
thanks
The problem is that apache2 is not configured before libapache2-mod-php5.
apache2_switch_mpm prefork fails, because conffiles from apache2 are not yet
there, including mods-available/mpm_prefork.load.
Is a Pre-Depends really necessary? I think a regular Depends should be enough
to ensure apache2 is configued before libapache2-mod-php5. You don't switch
mpm in preinst as far as I know. Debian policy 3.5 and 7.2 strongly encourage
people to avoid these.
Looking at libapache2-mod-php5 5.5.0~rc2+dfsg-2, I can see in the control file
"Depends: apache2-api-20120211" but that is provided by apache2-bin, not
apache2. Logs show that apache2-bin is properly configured before
libapache2-mod-php5 as you requested. But what you really need is apache2
(no -bin) with its mods-available/ directory.
Sorry for the ping pong, but I'm reassigning back to libapache2-mod-php5
because I think this is a simple missing Depends: there.
Reply to: