Re: apache2 and php4

From: Osamu Aoki (osamu_at_debian.org)
Date: 08/13/04

  • Next message: Albert Flügel: "Re: PAM Error: couldn't get the tty name"
    Date: Fri, 13 Aug 2004 18:02:50 +0200
    To: John Summerfield <debian@ComputerDatasafe.com.au>
    
    
    

    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

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Albert Flügel: "Re: PAM Error: couldn't get the tty name"

    Relevant Pages

    • Re: [SLE] I HAD IT WORKING! MySQL under SuSE 9.0 Woes
      ... ALSO I can't get phpMyAdmin to work; I tried to install ... Installing Apache or Apache2 via YaST should be easy, ... > Restarting service MySQL ...
      (SuSE)
    • Apache on XP Pro SP2 - who blocks my port 80
      ... It's a different story from the laptop none of the two are available. ... I did disable all the firewall software (MCAffe that took over the ... I was planning to install the apache2 on the laptop to see if is ...
      (comp.security.misc)
    • Re: php5 and apache2? -- Resolved
      ... >> install binary packages, right? ... > Might also be a good idea to delete the php5 options file first too. ... there is not an option for using apache2. ...
      (freebsd-questions)
    • Re: Setting up a simple Web Server
      ... I have installed the apache2 package, ... I would like to set up a Virtual Server but don't know how... ... > I wold like to install a simple Web Server on my Ubuntu 6.06. ... I wold like to make a few pictures available to my family overseas. ...
      (Ubuntu)
    • No luck getting Gallery to work on Sarge..Anyone able to??
      ... I have gallery installed from sarge, php4 and apache2 along with all the ... problem getting it to install. ...
      (Debian-User)