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
Priority: optional
Section: web
Installed-Size: 3240
Maintainer: Adam Conrad <adconrad@0c3.net>
Architecture: i386
Source: php4
Version: 4:4.3.8-5
Provides: phpapi-20020918
Depends: libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libdb4.2, libexpat1 (>= 1.95.6), libpcre3 (>= 4.5), libssl0.9.7, zlib1g (>= 1:1.2.1), mime-support (>= 2.03-1), apache2-mpm-prefork
Suggests: php4-pear, phpdoc
Filename: pool/main/p/php4/libapache2-mod-php4_4.3.8-5_i386.deb
Size: 1690932
MD5sum: f5f3975df49b3a06a1604e22627012b1
Description: A server-side, HTML-embedded scripting language
This package provides the loadable module for the Apache2 webserver. Compiled
in modules are: bcmath, calendar, curl, dba, exif, filepro, ftp, mm, sockets,
wddx, xml, yp and zlib.
.
PHP4 is an HTML-embedded scripting language. Much of its syntax is borrowed
from C, Java and Perl with a couple of unique PHP-specific features thrown
in. The goal of the language is to allow web developers to write
dynamically generated pages quickly.
.
The most significant change between php3 and php4 is the new parser engine
called Zend, which boosts performance quite impressively.
Task: web-server
-------------
Osamu
Attachment:
signature.asc
Description: Digital signature