Current time: 09-27-2024, 10:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
fcgid, FastCGI
Author Message
GioMac Offline
Junior Member
*****
Dev Team

Posts: 43
Joined: Mar 2008
Reputation: 0
Post: #7
RE: fcgid, FastCGI
(03-16-2010 05:04 AM)kobis Wrote:  Hi,

How do i know if a site runs under fcgid or FastCGI?
you can'r run it with fastcgi AFAIK - it's deprecated in Fedora/RHEL/CentOS, fcgid is active, but there is a little bug: you should comment fcgid config file inclusion in ispcp templates at /etc/ispcp/apache/parts/

in my case fcgid is active automatically with creation of this file:
Code:
[root@lba1a ~]# cat /etc/httpd/conf.d/fcgid_ispcp.conf
# ispCP ω (OMEGA) a Virtual Hosting Control Panel
# Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net
#
# Version: $Id: fcgid_ispcp.conf 2505 2010-01-06 20:30:53Z nuxwin $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations
# under the License.
#
# The Original Code is "ispCP ω (OMEGA) a Virtual Hosting Control Panel".
#
# The Initial Developer of the Original Code is ispCP Team.
# Portions created by Initial Developer are Copyright (C) 2006-2010 by
# isp Control Panel. All Rights Reserved.
#
# The ispCP ω Home Page is:
#
#    http://isp-control.net
#

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .php .php{PHP_VERSION}
  IdleTimeout 600
  IdleScanInterval 120
  BusyTimeout 300
  BusyScanInterval 120
  ErrorScanInterval 3
  ZombieScanInterval 3
  ProcessLifeTime 900
  SpawnScoreUpLimit 10
  SpawnScore 1
  TerminationScore 2
  MaxProcessCount 200
  DefaultMaxClassProcessCount 10
  DefaultMinClassProcessCount 1
  IPCConnectTimeout 900
  IPCCommTimeout 900
  MaxRequestsPerProcess 500
</IfModule>

and... "AddHandler php5-script .php" line must be commented in /etc/httpd/conf.d/php.conf too. This is all I remember - if you have other problems - let me know...
(This post was last modified: 03-16-2010 07:17 AM by GioMac.)
03-16-2010 07:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
fcgid, FastCGI - kobis - 03-16-2010, 05:04 AM
RE: fcgid, FastCGI - gOOvER - 03-16-2010, 05:09 AM
RE: fcgid, FastCGI - kobis - 03-16-2010, 05:59 AM
RE: fcgid, FastCGI - BeNe - 03-16-2010, 05:27 AM
RE: fcgid, FastCGI - BeNe - 03-16-2010, 06:04 AM
RE: fcgid, FastCGI - kobis - 03-16-2010, 06:06 AM
RE: fcgid, FastCGI - GioMac - 03-16-2010 07:15 AM
RE: fcgid, FastCGI - kobis - 03-16-2010, 04:01 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)