[MacPorts] #20516: apache2, apache20: mpm variant issues
#20516: apache2, apache20: mpm variant issues -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: apache2, apache20 -------------------------------------+-------------------------------------- I've never looked into the mpm variants in apache2 (and apache20) before, but now that I do, I see a number of issues. 1. The three mpm variants are mutually exclusive so they should be marked as conflicting with one another 2. They should have variant descriptions 3. One of them should be marked as a default variant if no other mpm has already been chosen: 1. Either the preforkmpm variant should be default, since the comment in the portfile reads "This ends up being the default mpm if no other is chosen" 2. Or the workermpm variant should be default, since the comment for that variant reads "This mpm is probably preferred (maybe we should make it a default variant?)" It may be wise to do 3.1 now and increase the revision, then wait a few months to ensure most users have upgraded to that version, and only then, if 3.2 is the actual desired end result, do 3.2 then. That way, existing users who already have the preforkmpm will not suddenly be switched to the workermpm, which might have adverse effects (e.g. don't you have to recompile php and all your php modules if you change apache mpms?) -- Ticket URL: <http://trac.macports.org/ticket/20516> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20516: apache2, apache20: mpm variant issues -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: apache2, apache20 -------------------------------------+-------------------------------------- Comment(by snc@…): PHP has [http://www.php.net/manual/en/install.unix.apache2.php a juicy warning] that if you have to use MPM, use prefork; if you need threads, use fastcgi. -- Ticket URL: <http://trac.macports.org/ticket/20516#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20516: apache2, apache20: mpm variant issues -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: apache2, apache20 -------------------------------------+-------------------------------------- Changes (by nox@…): * cc: nox@… (added) * version: 1.7.1 => Comment: We should not change the default MPM, Apache has chosen the prefork one on UNIX, let's do the same. -- Ticket URL: <http://trac.macports.org/ticket/20516#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20516: apache2, apache20: mpm variant issues -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: apache2, apache20 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Fixed apache2 in r56514 (maintainer timeout) using a reworked version of Anthony's patch from #20743. -- Ticket URL: <http://trac.macports.org/ticket/20516#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20516: apache2, apache20: mpm variant issues --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: imajes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: apache2, apache20 | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Merged to apache20 in r56515. -- Ticket URL: <http://trac.macports.org/ticket/20516#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts