apache2 - Change apache mpm from event to prefork -
i installed apache/2.4.6 source. @ present mpm module enabled mpm_event_module. want enable prefork mpm, not sure that. aware of changing mpm module /etc/sysconfig/httpd in case of apache installed using yum. in case installinon source, not not same. tried recompiling apche using './configure --prefix=/usr/local/apache --enable-module=prefork' , mpm still mpm_event_module. issue defining prefork mpm.
i see installation directory has prefork.c module. there must way define mpm.
could please help.
in versions prior 2.4, cannot change mpm of binary apache2 installation @ run-time.
you have compile apache desired mpm using --with-mpm=module name
command line option config script. change mpm, binary must rebuilt.
you can determine mpm apache2 built executing apache2 -l
or httpd -l
on command line.
brief clear documentation on this:
http://httpd.apache.org/docs/2.2/mpm.html
in version 2.4, can build mpms dynamic modules allows changing mpm @ run-time.
Comments
Post a Comment