不同站点的 Apache 2.2 MPM 使用

Apache 2.2 MPM usage for different sites

一个 apache 实例可以 运行 不同站点的不同 MPM 吗?

例如,我有一台装有 apache 的服务器和两个站点:www.site1.com 和 www.site2.com.

我可以在站点 1 上设置 mpm_prefork_module 并在站点 2 上设置 mpm_worker_module 吗?

您需要启动两个 Apache 实例,监听非重叠 ip:port 组合,以使用两个不同的 MPM。您不能仅通过 VirtualHost'ing 使用不同的 MPM。