Bug#386581: [php-maint] Bug#386581: libapache2-mod-php5: doesn't work with apache 2.2

Steve Langasek vorlon at debian.org
Fri Sep 8 18:07:24 UTC 2006

On Fri, Sep 08, 2006 at 06:03:58PM +0100, Mark Sheppard wrote:

> I'm using Apache 2.2 from experimental and when I install
> libapache2-mod-php5 from testing or unstable I get the following
> message:

>   Your apache2 configuration is broken, so we're not restarting it for you.

> Running "apache2ctl configtest" says:

>   apache2: Syntax error on line 185 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?

> So maybe the dependencies should have a "(<< 2.2)" in there against
> apache?

No, because it's not possible to make this change retroactively for the
packages in sarge.  Per discussion with Tollef, the apache2-common package
is going to be renamed to apache2.2-common, since it's the one that most
modules depend on; libapache2-mod-php5 is a special case, because it depends
on a particular mpm, so apache2.2 will need to conflict with old versions of
this module -- which can't be done until we know which new version of php is
built for apache2.2.

Hmm, maybe the next upload of php4/php5 should depend on apache2-common in
addition to apache2-mpm-prefork, in anticipation of the change?

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the pkg-php-maint mailing list