Bug 53882 - build with enable-mpms-shared=all and mpm entries in httpd.conf
Summary: build with enable-mpms-shared=all and mpm entries in httpd.conf
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Build (show other bugs)
Version: 2.4-HEAD
Hardware: PC FreeBSD
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk
Depends on:
Blocks:
 
Reported: 2012-09-16 12:20 UTC by ohauer
Modified: 2015-02-24 07:15 UTC (History)
1 user (show)



Attachments
[patch] fix mpm list in httpd.conf (545 bytes, patch)
2014-11-29 21:13 UTC, ohauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ohauer 2012-09-16 12:20:53 UTC
If apache24 is build --enable-mpms-shared=all, then all possible MPM modules for the platform are build and installed, but only one MPM module is tracked in httpd.conf.

Even If I try to build with explicit --enable-mpms-shared"prefork worker event" it results in having only a line for mpm-event in httpd.conf.
Removing event from the list results in a line with mpm-worker.

I suspect the last valid mpm module overwrites all others in the DSO list.
Comment 1 Jeff Trawick 2013-01-13 02:19:30 UTC
With --enable-mpms-shared, --with-mpm=FOO overrides the default MPM but you'll be able to edit the LoadModule directive as desired.
Comment 2 ohauer 2014-11-29 21:13:20 UTC
Created attachment 32239 [details]
[patch] fix mpm list in httpd.conf
Comment 3 Yann Ylavic 2015-01-19 11:00:42 UTC
Committed to trunk in r1652930, proposed for 2.4.x (r1652934).
Thanks for the patch.
Comment 4 Christophe JAILLET 2015-02-24 07:15:32 UTC
Backported in r1661848.

Will be part of 2.4.13