Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230315 - www-servers/apache-2.2 Multi-mpm compilation
Summary: www-servers/apache-2.2 Multi-mpm compilation
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement with 1 vote (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 09:57 UTC by Dennis Birkholz
Modified: 2010-01-30 12:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified apache2-eclass that generates apache binaries for all mpms available (apache-2.eclass.diff,2.49 KB, patch)
2008-07-01 10:41 UTC, Dennis Birkholz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Birkholz 2008-07-01 09:57:27 UTC
I wish to have a multi-mpm-apache-ebuild (creating both a prefork-binary and a worker-binary).
So I tested and verified that the modules bundled with the apache source tarball are binary-identical unaffected of my choice of the mpm (prefork or worker). This leads me to the conclusion that it should be possible to compile multiple apache2-binaries.
Is there any argument against doing so?
Otherwise i would create a patch for the apache-2.eclass and submit it here in the hope of that patch beeing added!


Reproducible: Always
Comment 1 Dennis Birkholz 2008-07-01 10:41:44 UTC
Created attachment 159105 [details, diff]
Modified apache2-eclass that generates apache binaries for all mpms available
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2010-01-11 08:28:58 UTC
you generally can't mix threaded and non-threaded MPMs with most language interpreters (mod_php, mod_perl, etc) and it is generally not supported to build multiple MPMs
Comment 3 Bruce Benda 2010-01-29 23:50:13 UTC
(In reply to comment #2)
> you generally can't mix threaded and non-threaded MPMs with most language
> interpreters (mod_php, mod_perl, etc) and it is generally not supported to
> build multiple MPMs
> 

This patch is required to provided both prefork & worker MPMs in the Apache binary package - for a BINHOST environment. We have many BINHOST client machines - some have prefork with mod_php and some use worker without any language interpreters.
Comment 4 Dennis Birkholz 2010-01-30 12:29:20 UTC
I don't think it is a problem for the apache2 ebuild that language interpreters like php or python do not work with a threaded mpm properly! All bundled modules in the apache2 distribution work with both mpms! I think php, python, etc. should fix their builds (if needed!) and i think apache should not be restricted because other packages lack some features!

And i am glad to see that at least on person thinks my patch is useful!