[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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'



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 <anbe@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 /etc/apache2/mods-available/authn_alias.load ...
 Removing obsolete conffile /etc/apache2/mods-available/cern_meta.load ...
 Removing obsolete conffile /etc/apache2/mods-available/disk_cache.load ...
 Removing obsolete conffile /etc/apache2/mods-available/disk_cache.conf ...
 Removing obsolete conffile /etc/apache2/mods-available/ident.load ...
 Removing obsolete conffile /etc/apache2/mods-available/imagemap.load ...
 Removing obsolete directory /etc/apache2/conf.d
 Enabling module mpm_prefork.
 disable obsolete module authz_default
 Enabling module authz_core.
 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
 Enabling module filter.
 Enabling module access_compat.
 Enabling conf charset.
 Enabling conf localized-error-pages.
 Enabling conf other-vhosts-access-log.
 Enabling conf security.
 Enabling conf serve-cgi-bin.
 Enabling site 000-default.
 invoke-rc.d: policy-rc.d denied execution of start.

The "Syntax error in line 9 of /etc/apache2/mods-enabled/php5.conf" message
was found in the following package upgrade logs:

frontaccounting
torrentflux
typo3-dummy (log attached)
php-horde-memcache
ndoutils-nagios3-mysql
ndoutils-common
webissues-server


Andreas
<typo3-dummy_4.5.27+dfsg1-2.log.gz>
_______________________________________________
pkg-php-maint mailing list
pkg-php-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint

Reply to: