Apache2 does not want to leave
Derek Broughton
news at pointerstop.ca
Sat Jun 21 22:36:43 UTC 2008
galevsky wrote:
> Mike Bird <mgb-ubuntu <at> yosemite.net> writes:
>> I don't have an Apache2 on any of my Ubuntu boxes but here's the
>> answer from a Debian server which is almost certainly the same:
>>
>> # dpkg -S /etc/init.d/apache2
>> apache2.2-common: /etc/init.d/apache2
>>
>
> Thanks Mike, I missed the point.
>
> I want php5 on my lighttpd. But php5 requires libapache2-mod-php5.
> (I don't know why, it is not possible to get a php5 without apache2 ?!??)
>
> And libapache2-mod-php5 depends on... apache2.2-common.
>
> Why these dependencies ?
Obviously because lighttpd doesn't provide php handling on its own.
> Is there another way -without php5 pkg- to get the php5 engine ?
Read the package specification. php5 _doesn't_ depend on
libapache2-mod-php5. It depends on one of a three packages. When a
package has multiple options to fulfill a dependency, it will use the first
unless you explicitly ask for another (or already have it installed). If
you know enough to know you want lighttpd instead of apache, then you
should already have investigated which other packages you'll need.
--
derek
More information about the ubuntu-users
mailing list