LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling LAMP from source - apache2 error “no MPM package installed” (http://www.linuxquestions.org/questions/linux-software-2/compiling-lamp-from-source-apache2-error-%93no-mpm-package-installed%94-794216/)

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

Hi,

Why don't you run:
Code:

/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 02:08 AM.