Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th April 2009, 08:50
emil2k emil2k is offline
Junior Member
 
Join Date: Oct 2006
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Exclamation Simplest way to switch from prefork to worker MPM?

I'm trying to switch to worker mpm on my Centos 5 but in order to do so I have to step away from the yum and compile and install php and apache2 with the appropriate configurations ...

I have been reading and following several tutorials like this one ...
http://markmaunder.com/2007/configur...-a-worker-mpm/

But I'm having several problems when I start compiling and installing myself ... I would appreciate any help, because I'm confused.


When I compile PHP unless I use the --disable-all option there are tons of missing dependencies i.e. libxml, percl, mysql, and curl ... with all of them failing to install with some very general error like "There is something wrong, check the log" .

For my site I need curl and mysql, but I'm completely unable to compile and install php? Is there something that I'm missing why is this so complicated.

---

When I install the apache from the source that I download from the apache site, it is very different in the file structure from the one that I'm used that was installed with yum ... it is quite uncomfortable ... is there anyway to recompile the version that I get from yum with the necessery mod_so module?

Thats actually another thing it says (httpd -l) that the yum apache version is compiled with mod_so which is necessery for compiling threadsafe php but when I try to compile php it says it is not?

PHP is really giving me troubles if I could just recompile it with the --enabled-zts and left my old yum installed apache and just switched to worker from the config file it would make this a lot easier, but I can't compile it at all.

----


Please help. Lost.
Reply With Quote
Sponsored Links
  #2  
Old 12th April 2009, 14:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by emil2k View Post
When I compile PHP unless I use the --disable-all option there are tons of missing dependencies i.e. libxml, percl, mysql, and curl ... with all of them failing to install with some very general error like "There is something wrong, check the log" .
Are the devel packages of libxml, mysql, curl, etc. installed on your system?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
threading, worker mpm

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mod_Perl Configuration Issue szise Installation/Configuration 4 28th November 2008 12:41


All times are GMT +2. The time now is 06:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.