No Prefork Module on Apache

August 29, 2014 4.5k views


I have been running into a few database errors with a brand new install of wordpress and decided to optimise my server by adding swap, and optimising the apache and mysql services.

I was trying to follow this guide when i noticed that my apache install does not seem to have been compiled with the prefork module. I used the automated wordpress on ubuntu 14.04 installer.

Is this an issue? or is the apache install already well optimised that I do not need to optimise the prefork section? or is the config located somewhere else?

1 Answer

You need to install the prefork module with:

sudo apt-get install apache2-mpm-prefork 

Then make sure it is loaded with:

sudo a2enmod mpm_prefork
Have another answer? Share your knowledge.