Bug#711454: libapache2-mod-php5: MPM prefork not found ... == ... Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: Invalid command 'Order'

2013-07-29 Thread Jean-Michel Vourgère
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.


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201307292151.12122.jmv_...@nirgal.com



Re: [php-maint] Bug#711454: libapache2-mod-php5: MPM prefork not found ... == ... Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: Invalid command 'Order'

2013-06-07 Thread Ondřej Surý
reassign 711454 apache2
affects 711454 +php5
thank you

Hi apache2 maintainers,

there seems to be a glitch in the apache2 scripts or transition manual, which 
prevents MPM to be switched before the apache2 is configured.

It looks like I will need to Pre-Depend on apache2 = 2.4 for the transition 
period from 2.2 to 2.4.

That's also probably something which would be better places in dh helper to add 
replacement for ${apache2:Pre-Depends} which I would place into Pre-Depends:, 
so it can be dropped automatically when no longer needed.

Ondřej Surý

On 7. 6. 2013, at 0:45, Andreas Beckmann a...@debian.org wrote:

 Package: libapache2-mod-php5
 Version: 5.5.0~rc2+dfsg-2
 Severity: important
 Control: affects -1 + typo3-dummy
 
 Hi,
 
 while doing piuparts upgrade tests to sid I noticed the following:
 
 (libapache2-mod-php5):
  apache2_switch_mpm: MPM prefork not found
  Could not switch to prefork, not enabling php5
 
 (apache2):
  AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf:
  Invalid command 'Order', perhaps misspelled or defined by a module not 
 included in the server configuration
 
 a bit more context, full log attached:
 
  Setting up php5-common (5.5.0~rc2+dfsg-2) ...
  Installing new version of config file /etc/cron.d/php5 ...
 
  Creating config file /etc/php5/mods-available/opcache.ini with new version
  Setting up libapache2-mod-php5 (5.5.0~rc2+dfsg-2) ...
  Replacing config file /etc/php5/apache2/php.ini with new version
  apache2_switch_mpm: MPM prefork not found
  Could not switch to prefork, not enabling php5
  Setting up apache2-data (2.4.4-5) ...
  Setting up apache2 (2.4.4-5) ...
  Installing new version of config file /etc/logrotate.d/apache2 ...
  Installing new version of config file /etc/init.d/apache2 ...
  Installing new version of config file /etc/apache2/envvars ...
  Installing new version of config file /etc/apache2/mods-available/dir.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/mime_magic.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/include.load ...
  Installing new version of config file 
 /etc/apache2/mods-available/autoindex.conf ...
  Installing new version of config file /etc/apache2/mods-available/ldap.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/authz_dbm.load ...
  Installing new version of config file /etc/apache2/mods-available/cgid.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/userdir.conf ...
  Installing new version of config file /etc/apache2/mods-available/ssl.load 
 ...
  Installing new version of config file /etc/apache2/mods-available/alias.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/setenvif.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/dav_fs.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/proxy_balancer.load ...
  Installing new version of config file 
 /etc/apache2/mods-available/authz_groupfile.load ...
  Installing new version of config file 
 /etc/apache2/mods-available/reqtimeout.conf ...
  Installing new version of config file /etc/apache2/mods-available/ssl.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/negotiation.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/deflate.conf ...
  Installing new version of config file /etc/apache2/mods-available/info.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/proxy_ftp.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/actions.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/status.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/proxy_balancer.conf ...
  Installing new version of config file 
 /etc/apache2/mods-available/authz_user.load ...
  Installing new version of config file /etc/apache2/mods-available/mime.conf 
 ...
  Installing new version of config file /etc/apache2/mods-available/asis.load 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/authz_host.load ...
  Installing new version of config file /etc/apache2/mods-available/proxy.conf 
 ...
  Installing new version of config file 
 /etc/apache2/mods-available/deflate.load ...
  Installing new version of config file /etc/apache2/apache2.conf ...
  Installing new version of config file /etc/apache2/ports.conf ...
  Installing new version of config file /etc/default/apache2 ...
  Installing new version of config file /etc/cron.daily/apache2 ...
  Removing obsolete conffile /etc/apache2/mods-available/authz_default.load ...
  Removing obsolete conffile /etc/apache2/mods-available/authn_default.load ...
  Removing obsolete conffile /etc/apache2/mods-available/mem_cache.load ...
  Removing obsolete conffile /etc/apache2/mods-available/mem_cache.conf ...
  Removing obsolete conffile 

Processed: Re: [php-maint] Bug#711454: libapache2-mod-php5: MPM prefork not found ... == ... Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: Invalid command 'Order'

2013-06-07 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 reassign 711454 apache2
Bug #711454 [libapache2-mod-php5] libapache2-mod-php5: MPM prefork not found 
... == ... Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: 
Invalid command 'Order'
Bug reassigned from package 'libapache2-mod-php5' to 'apache2'.
No longer marked as found in versions php5/5.5.0~rc2+dfsg-2.
Ignoring request to alter fixed versions of bug #711454 to the same values 
previously set
 affects 711454 +php5
Bug #711454 [apache2] libapache2-mod-php5: MPM prefork not found ... == ... 
Syntax error on line 9 of /etc/apache2/mods-enabled/php5.conf: Invalid command 
'Order'
Added indication that 711454 affects php5
 thank you
Stopping processing here.

Please contact me if you need assistance.
-- 
711454: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711454
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.13705882136153.transcr...@bugs.debian.org