在 /etc/apache2/apache2.conf 中既没有 prefork 也没有 worker 设置 - 为什么?

Max*_*kyi 11 server apache2

我刚刚在我的 Ubuntu 14.04 LTS 系统上安装了 Apache 2.4.7 (Ubuntu),在 /etc/apache2/apache2.conf 中看不到 prefork 和 worker 设置。它们也没有为默认虚拟主机定义。我应该像这样在 apache2.conf 中自己设置它们吗?

<IfModule mpm_prefork_module>
    StartServers 2
    MinSpareServers 2
    MaxSpareServers 5
    MaxClients 200 #must be customized
    ServerLimit 200 #must be customized
    MaxRequestsPerChild 100
</IfModule>
Run Code Online (Sandbox Code Playgroud)

小智 10

Ubuntu 14 将所有特定于模块的配置组织/etc/apache2/mods-available/在 ./etc/apache2/mods-available/mpm_prefork.conf