Centos 7 上的 Apache/2.4.6 默认 prefork MPM 配置

Mah*_*hdi 6 apache-2.4 centos7

在哪里可以找到默认的 MPM 配置?httpd.conf我希望在或上看到类似的东西conf.modules.d/00-mpm.conf,但它们都没有这样的东西:

<IfModule mpm_prefork_module>
    StartServers          2
    MinSpareServers       6
    MaxSpareServers      12
    MaxClients           60
    MaxRequestsPerChild  3000
</IfModule>
Run Code Online (Sandbox Code Playgroud)

看起来00-mpm.conf像这样:

# Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines:

# prefork MPM: Implements a non-threaded, pre-forking web server
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

# worker MPM: Multi-Processing Module implementing a hybrid
# multi-threaded multi-process web server
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
#
#LoadModule mpm_worker_module modules/mod_mpm_worker.so

# event MPM: A variant of the worker MPM with the goal of consuming
# threads only for connections with active processing
# See: http://httpd.apache.org/docs/2.4/mod/event.html
#
#LoadModule mpm_event_module modules/mod_mpm_event.so
Run Code Online (Sandbox Code Playgroud)

在哪里可以找到 prefork MPM 的默认配置?

小智 1

我认为这些部分已被删除,并且每个指令对于每种 MPM 类型都有一个默认值。请参阅https://httpd.apache.org/docs/2.4/mod/prefork.html