在哪里可以获得有关我的 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/