Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th April 2010, 18:04
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default ISPconfig3 fcgi an apache2-mpm-worker

In falcosThe perfect-server howto it is told to install not the apache2-mpm-worker but the standard apache2-mpm-prefork modul.

I'm not shure but the apache2-mpm-worker mode should give the best performace using fcgi.


So if the ISPconfig admin is only handling with fcgi for php he should install apache2-mpm-worker.

Right?
Reply With Quote
Sponsored Links
  #2  
Old 14th April 2010, 18:08
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

If you dont install mod_php, then you can use mpm-worder as well.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th April 2010, 18:58
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

Hm, I just tried it but after installing the apache worker modul the php_admin_value, used by ISPConfig to configure the vhost, does'nt work anymore
:-(
Any work arounds for that php_admin_value to hold the vhost config of ISPConfig?
Reply With Quote
  #4  
Old 14th April 2010, 19:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

php_admin_value is a function of mod_php, it never works on any cgi or fastcgi vhosts.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 26th April 2010, 15:14
cantoute cantoute is offline
Junior Member
 
Join Date: Apr 2010
Posts: 1
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tom View Post
Hm, I just tried it but after installing the apache worker modul the php_admin_value, used by ISPConfig to configure the vhost, does'nt work anymore
:-(
Any work arounds for that php_admin_value to hold the vhost config of ISPConfig?
/var/www/php-fcgi-scripts/webXX/.php-fcgi-starter
is where you can control the php settings of your virutal host

I have not tested myself what vars you can change but I would assume that there are no limits in here
PHPRC="/etc/php5/cgi/"
would make it possible to point to a different php.ini

by the way, ispconfig set this that i would comment out
# PHP_FCGI_CHILDREN=4
# export PHP_FCGI_CHILDREN


this was perhaps good with mod_fastcgi but is realy bad with mod_fcgid that can not make any useful use of this and that actualy leaves you with some php zombies that pile up with time

consider changing the lines in ispconfig default for future vhosts
ISPconfig > System > Edit Server

find the line fastcgi_children and set it to 1

fastcgi_children=1



Hope this can help you
Reply With Quote
  #6  
Old 26th April 2010, 23:11
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

@cantoute. You seem to use a old ispconfig version, the current ISPConfig versions do not set PHP_FCGI_CHILDREN anymore. I recommend thyt you update your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cantoute (26th April 2010)
  #7  
Old 3rd May 2010, 20:19
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

If I install the apache worker module mod_php will be deinstalled from the server.

Everything seems to be ok but the ISPConfig webinterface leading to squirrelmail show an internal server error without mod_php.

I don't unterstand why.
?
Reply With Quote
The Following User Says Thank You to tom For This Useful Post:
cantoute (3rd May 2010)
  #8  
Old 3rd May 2010, 20:25
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
Default

Please post the exact error message.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 3rd May 2010, 22:00
tom tom is offline
Senior Member
 
Join Date: Apr 2006
Posts: 492
Thanks: 8
Thanked 8 Times in 7 Posts
Default

sorry, here it is
Quote:
SoftException in Application.cpp:202: Script "/var/www/webmail/index.php" resolving to "/usr/share/squirrelmail//index.php" not within configured docroot, referer: http://serve.com:8080/index.php

Last edited by tom; 3rd May 2010 at 22:18.
Reply With Quote
  #10  
Old 3rd May 2010, 22:40
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,453
Thanks: 813
Thanked 5,222 Times in 4,092 Posts
 
Default

Looks as if you tried to access webmail and not ispconfig. The error occurs because the squirrelmail install is not within the apache docroot. When you use fcgi with suexec, you can not use the squirrelmail package from the linux distribution anymore as it is in the wrong location. I recommend that you create a new website in ispconfig e.g. webmail.yourdomain.com and then install a webmail application of your choice within this website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
cantoute (3rd May 2010)
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
ISPConfig 3.0.1.4 causes Apache to have too many open files gkovacs Installation/Configuration 29 27th February 2013 08:59
Whole server went down wxman General 25 28th September 2012 18:32
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24
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


All times are GMT +2. The time now is 16:31.


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