-   Linux - Software (
-   -   Compiling LAMP from source - apache2 error “no MPM package installed” (

nicky77 03-09-2010 08:33 AM

Compiling LAMP from source - apache2 error “no MPM package installed”
Hi, I've compiled LAMP from source on a Ubuntu VPS. I had to remove a previously installed version of Apache then I manually compiled all the packages, which seems to have worked up unto a point - however, when I try to run commands like "/etc/init.d/apache2 restart" I get the following error - No apache MPM package installed. I have installed mpm-prefork so I don't know why i'm getting this problem. My configure command is as follows:

./configure --enable-so --enable-modules=most --with-mpm=prefork

I have deliberately not used apt-get to install anything and want to avoid this if possible.

Anyone have any guidance on how to resolve this error? Thanks in advance

bathory 03-09-2010 08:46 AM


Why don't you run:

/usr/local/apache2/bin/apachectl start
and see if it works.

nicky77 03-09-2010 09:19 AM

Hi Bathory, as you can see i've been battling to get this setup working! But thanks, your suggestion make sense of course - i was getting mixed up between the Ubuntu package of Apache (in /etc/) and the package i'd compiled from source in /usr/local. But at long last, I now have a phpinfo page showing the correct version of PHP i'd wanted (5.1.6). Major breakthrough! Hopefully i'll have a better understanding of linux and apache after this exercise

All times are GMT -5. The time now is 09:09 AM.