13 November 2011

How to find if Apache is running prefork or worker MPM

Use the command

apache2 -l
 
It should list modules like  

 Compiled in modules:
  core.c
  mod_log_config.c
  mod_logio.c
  worker.c
  http_core.c
  mod_so.c
 
As worker.c is displayed then it uses worker MPM.