Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to completely remove Apache2, reboot and then using this command to install:

sudo apt-get install apache2-mpm-prefork

Still, Apache2 will work only in event MPM:

root@ubuntu-vm:~# apachectl -V | grep -i mpm
Server MPM:     event

I need it to work with prefork, can someone help me out?

share|improve this question
Can you show what apache2 -l lists? – val0x00ff Aug 20 '14 at 15:16

apachectl -v only shows the default compiled MPM, not what is actually running. Enable mod_info and check the output under "Sever Settings" for "MPM Name"

share|improve this answer

What do you get from this command?

ls -l /etc/apache2/mods-enabled/mpm*

You need to enable the mpm module you want to use with the command a2enmod.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.