apache - 如何查找 Apache 在 Linux 中使用的 MPM 模型(worker、prefork 或 event)

标签 apache apache2

在哪里可以获得有关我的 Linux 系统中使用的 MPM Apache 类型的信息?

最佳答案

httpd -V

然后查找Server MPM 行。

示例:

# httpd -V
Server version: Apache/2.2.15 (Unix)
Server built:   Aug  2 2013 08:02:15
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....
 -D APACHE_MPM_DIR="server/mpm/prefork"

关于apache - 如何查找 Apache 在 Linux 中使用的 MPM 模型(worker、prefork 或 event),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6225404/

相关文章:

tomcat - Office 2007 MIME 类型的问题,它们在 IE 所有其他浏览器中下载为 *.zip 正常

php - 错误 500 在 Linux Apache 上最后 1 分钟之后

ruby-on-rails - Rails 显示错误 "uninitialized constant URI::Generic"

php - 如何在 Apache 上修改代理图像 header ?

apache - 如何通过htaccess将目录中的所有文件重定向到root中的另一个

apache2 - Vagrant/VirtualBox/Apache2 奇怪的缓存行为

c++ - 如何为我的 Apache 模块定义自定义配置指令?

ruby-on-rails-3 - Apache ; Phusion Passenger 3 RackBaseURI 仅适用于 Rails 3 的生产环境

javascript - 疯狂需要启用跨站点脚本

java - 如何从在 TomCat 中运行的 Java 应用程序读取 Apache Httpd Env 变量?