ispCP - Board - Support
fcgid, FastCGI - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: fcgid, FastCGI (/thread-10026.html)



fcgid, FastCGI - kobis - 03-16-2010 05:04 AM

Hi,

How do i know if a site runs under fcgid or FastCGI?


RE: fcgid, FastCGI - gOOvER - 03-16-2010 05:09 AM

What did you choose at setup??


RE: fcgid, FastCGI - BeNe - 03-16-2010 05:27 AM

Check your enabled Apache Modules or PHP.ini.

Greez BeNe


RE: fcgid, FastCGI - kobis - 03-16-2010 05:59 AM

(03-16-2010 05:09 AM)gOOvER Wrote:  What did you choose at setup??

I choosed FastCGI.

But when i am restarting httpd i got this message:

Code:
Starting httpd: [Mon Mar 15 22:03:45 2010] [warn] module fcgid_module is already loaded, skipping



RE: fcgid, FastCGI - BeNe - 03-16-2010 06:04 AM

And which OS is running on the Server ?

Greez BeNe


RE: fcgid, FastCGI - kobis - 03-16-2010 06:06 AM

CentOS 5.4

Thanks!


RE: fcgid, FastCGI - GioMac - 03-16-2010 07:15 AM

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


RE: fcgid, FastCGI - kobis - 03-16-2010 04:01 PM

Thanks' a lot!!!

It works.