(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...