[nzlug] Installing conflicts on Debian/Ubuntu
Daniel Pittman
daniel at rimspace.net
Fri Sep 1 14:04:25 NZST 2006
Hadley Rich <nzlug at nice.net.nz> writes:
> On Friday 01 September 2006 13:29, Jim Cheetham wrote:
>> You can also have a separate apache instance with php4 in it, and proxy
>> from the other one :-)
>
> Yes but this way you don't run the risk of borking your packages :)
>
>> The question was about the packages, not their usage :-)
>
> Fine. How about;
>
> aptitude hold libapache2-mod-php4
That will not help; nothing much will, because the Debian package system
is (by design) very picky about never having two packages that conflict
with each other installed.
You could modify the package yourself -- which is generally a bad idea,
because the conflict is there for a reason -- or file a bug with Debian
asking them to resolve the issue through some other mechanism.
In this case, better to use the (Fast)CGI version of PHP4, and use the
Apache module (if you insist on using one) of PHP5.
Personally, I avoid running the in-process PHP interpreters as much as
possible. They introduce the risk of conflicts, increase the size of
the Apache module for static content, and don't have any significant
advantages over using PHP through FastCGI.
Plus, using it through FastCGI makes it much easier to have multiple
versions of PHP running concurrently, for different applications.
Regards,
Daniel
--
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707 email: contact at digital-infrastructure.com.au
http://digital-infrastructure.com.au/
More information about the NZLUG
mailing list