Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-09-2010, 08:33 AM   #1
LQ Newbie
Registered: Mar 2010
Posts: 16

Rep: Reputation: 0
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
Old 03-09-2010, 08:46 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,460

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471

Why don't you run:
/usr/local/apache2/bin/apachectl start
and see if it works.
Old 03-09-2010, 09:19 AM   #3
LQ Newbie
Registered: Mar 2010
Posts: 16

Original Poster
Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
No apache MPM package installed error windom Linux - Desktop 1 02-02-2010 03:10 PM
Force remove apache2-mpm-prefork jchambers Linux - Newbie 4 04-20-2009 02:19 PM
Error compiling KTorrent from source: No KDE Headers Installed JamesHall Linux - Software 5 06-01-2006 03:35 AM
Replacing apache2-mpm-prefork iNeo Debian 1 02-06-2006 02:17 PM
Apache2 & prefork MPM, PHP4 XTJ7 Linux - Software 6 04-29-2004 02:43 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration