Current time: 05-05-2024, 06:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
fcgid, FastCGI
Author Message
kobis Offline
Newbie
*

Posts: 7
Joined: Mar 2010
Reputation: 0
Post: #1
fcgid, FastCGI
Hi,

How do i know if a site runs under fcgid or FastCGI?
03-16-2010 05:04 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: fcgid, FastCGI
What did you choose at setup??
03-16-2010 05:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: fcgid, FastCGI
Check your enabled Apache Modules or PHP.ini.

Greez BeNe
03-16-2010 05:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kobis Offline
Newbie
*

Posts: 7
Joined: Mar 2010
Reputation: 0
Post: #4
RE: fcgid, FastCGI
(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
03-16-2010 05:59 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: fcgid, FastCGI
And which OS is running on the Server ?

Greez BeNe
03-16-2010 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kobis Offline
Newbie
*

Posts: 7
Joined: Mar 2010
Reputation: 0
Post: #6
RE: fcgid, FastCGI
CentOS 5.4

Thanks!
03-16-2010 06:06 AM
Find all posts by this user Quote this message in a reply
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
kobis Offline
Newbie
*

Posts: 7
Joined: Mar 2010
Reputation: 0
Post: #8
RE: fcgid, FastCGI
Thanks' a lot!!!

It works.
03-16-2010 04:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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