Hi, this one scratched my head too.
On Fri, Aug 13, 2004 at 06:09:49PM +0800, John Summerfield wrote:
Does anyone know what's going on here?
I want to use apache 2 and php4. However, php4 pulls in apache1 stuff:
php4
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 3196
Maintainer: Adam Conrad <adconrad@0c3.net>
Architecture: i386
Version: 4:4.3.4-4
Replaces: php4-dev (<< 4.0.2-6), php4-xml
Provides: php4-xml, phpapi-20020918
Depends: libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libdb4.2, libexpat1 (>=
1.95.6), libmm13, libpam0g (>= 0.76), libpcre3 (>= 4.5), libssl0.9.7,
zlib1g (>= 1:1.2.1), debconf (>= 0.5) | debconf-2.0, mime-support (>=
2.03-1), apache-common (>= 1.3.29.0.2)
Surely someone's using apache2 and php4. How's it done? Do I really need
apache1 too?
Yes. (Not much testing but ...)
"equivs" is not the solution here. Do not get hooked :) It is
adictive.
Confusion is php4 is a package for php4 module for apache (apache1)
while its apache2 equivalent has more complicated name which is hard to
find. Let get apache2-mpm-prefork installed for apache2 for example.
Then, look for php4 support. I use aptitude and look under
--\ Packages which depend on apache2-mpm-prefork
--\ Depends
to find php4 build for apache2-mpm-prefork. I think
"libapache2-mod-php4" looks good to me.
Package: libapache2-mod-php4