Re: Doubts about PHP
On Thu, Jul 19, 2007 at 06:06:14PM -0500, Raphael Geissert wrote:
> On 19/07/07, Nacho Barrientos Arias <nacho@debian.org> wrote:
> >On Thu, Jul 19, 2007 at 01:42:00PM -0300, Eriberto wrote:
> >> Hello Mentors,
> >> I am packaging a webmail and it needs a webserver with PHP support. I
> >> used this line:
> >> Depends: apache2|apache,
> >libapache2-mod-php5|libapache2-mod-php4|libapache-mod-php5|libapache-mod-php4
> >What about if I don't wanna see Apache installed on my system and I
> >want to run the webmail using another package providing httpd (e.g.
> >lighttpd)? ;)
> That's exactly the reason why I recommend to Depend on php5.
> $ apt-cache show php5 | grep Depends
> Depends: libapache2-mod-php5 (>= 5.2.3-1) | php5-cgi (>= 5.2.3-1),
> php5-common (>= 5.2.3-1)
> That's more than enough.
That doesn't address the incorrect dependency on the *webserver*, which is
what Nacho was pointing out.
--
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@debian.org http://www.debian.org/
Reply to: