我有以下情况:
跑步
aptitude search apache2-mpm-
给我:p ... p ... i apache2-mpm-worker -transitional worker MPM package for apache2 p ...
但当我执行时
apache2 -V
我得到了回应server_MPM: prefork
此外,执行时
apache2 -l
,prefork.c
缺少
我不确定配置是否有问题。
有任何想法吗?
答案1
该软件包中提供了三个标准 MPM(prefork
、worker
和) (因此在Apache 2.4 的所有安装中都有):event
apache2-bin
apache2
$ dpkg -L apache2-bin | grep mpm
/usr/lib/apache2/modules/mod_mpm_event.so
/usr/lib/apache2/modules/mod_mpm_prefork.so
/usr/lib/apache2/modules/mod_mpm_worker.so
* Refactor binary packages, now as things simplified. MPMs are simple
modules now, they can be bundled into the same binary package which do not
need to conflict with each other. Thus, Apache now primarily consists of the
following packages:
+ apache2 - configuration files and init scripts, Debian specific helper
scripts
+ apache2-bin - binaries and modules
+ apache2-data - error pages and images
默认情况下,prefork
处于启用状态。