[php-maint] php dependencie on libapache2-mod-php

Steve Langasek vorlon at debian.org
Mon Dec 4 09:39:28 CET 2006

On Sun, Dec 03, 2006 at 04:17:25PM +0100, s0496456 at mail.inf.tu-dresden.de wrote:

> i was wondering if there 's a particular reason, why the common php
> package depends on libapache2-mod-php. I mean you could use a different
> httpd than apache with php and than there's no reason why you should
> install the apachelibary.

So don't.

  Package: php5
  Depends: libapache2-mod-php5 (>= 5.2.0-7) | libapache-mod-php5 (>= 5.2.0-7) | php5-cgi (>= 5.2.0-7), php5-common (>= 5.2.0-7)

> the worst part of it is that libapache2-mod-php depends on apache-common.

No, libapache2-mod-php4 and libapache2-mod-php5 depend on
apache*2.2*-common, and there is no such package as libapache2-mod-php.

> So when i want to use php with an different webserver than apache, i still
> have to install apache.

No, you don't.

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