Httpd How to Find Out which MPM is Being Used: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
Line 34: Line 34:
</pre>
</pre>


==httpd -l==
==The List of Static Modules Compiled into the httpd Binary==


Once the server has been compiled it is possible to determine with MPM was chosen with:
{{Internal|httpd Static Module List|The List of Static Modules Compiled into the httpd Binary}}
 
<pre>
./httpd -l
</pre>
 
An example of server compiled with prefork:
 
<pre>
httpd -l
 
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_setenvif.c
  mod_version.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_so.c
</pre>
 
<font color=red>
An example of server compiled with 'worker':
 
<pre>
</pre>
</font>

Latest revision as of 18:32, 5 January 2017

Internal

Overview

There are two sources of information on the built-in MPM:

httpd -V

Run:

./httpd -V

An example of server compiled with prefork:

./apachectl -V

Server version: Apache/2.2.17 (Unix)
Server built:   Sep  7 2011 12:34:41
Server's Module Magic Number: 20051115:25
Server loaded:  APR 1.3.9, APR-Util 1.3.9
Compiled using: APR 1.3.9, APR-Util 1.3.9
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
...

The List of Static Modules Compiled into the httpd Binary

The List of Static Modules Compiled into the httpd Binary