Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th August 2009, 18:09
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default In all howto's, prefork preferred over worker?

Hello,

At least all Debian/Ubuntu guides seems to favor apache prefork over worker. Why the guides do not instruct to use worker and PHP5 with FCGI, or at least include it as an option?

Shouldn't web server receive a noticeable performance increase by using worker and PHP on FCGI?

From what I gather, to make PHP5 run on FCGI all what is necessary is to drop libapache2-mod-php5. No other changes in the guides is needed as ISPConfig handles setting up virtualhosts. Correct?
Reply With Quote
Sponsored Links
  #2  
Old 21st August 2009, 16:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,712 Times in 2,555 Posts
Default

ISPConfig 2 doesn't support FCGI, that's why Apache prefork is used.
__________________
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
  #3  
Old 21st August 2009, 17:59
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ISPConfig 3 has been out for a while and used in newer howto's.
Reply With Quote
  #4  
Old 22nd August 2009, 13:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,712 Times in 2,555 Posts
Default

ISPConfig 2 and 3 are two completely different and imcompatible pieces of software that just share the same name.
__________________
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
  #5  
Old 22nd August 2009, 18:17
Keeper Keeper is offline
Member
 
Join Date: Aug 2009
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Yes I'm aware of that.

I was asking why in latest Debian and Ubuntu perfect server howto's mod_php/mpm_prefork is used instead of mod_fcgid/mpm_worker as both of those howto's are based on ISPConfig3 which to my knowledge supports mod_fcgid.

In latest CentOS and Fedora howto's both mod_php and mod_fcgid are apparently installed, as mpm_prefork allows it. Looks like setting up worker in CentOS/Fedora is more tricky than in Debian/Ubuntu.

I have a feeling I just answered my own question why the howto's use prefork as far as Red Hat based distros are concerned. Oh well, I guess I just have to google proper guides for setting up mod_fcgid/mpm_worker properly to work with ISPConfig 3.
Reply With Quote
Reply

Bookmarks

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
Simplest way to switch from prefork to worker MPM? emil2k Server Operation 1 12th April 2009 14:27
Mod_Perl Configuration Issue szise Installation/Configuration 4 28th November 2008 12:41
Questions about Debian howtos... freebie HOWTO-Related Questions 3 3rd March 2007 15:43
HOWTO's for perfect installing Debian on VMWare Workstation 5 machines dragos Suggest HOWTO 5 1st February 2007 18:54


All times are GMT +2. The time now is 03:57.


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