In Apache, mod_fcgid is a high performance alternative to mod_cgi or mod_cgid, which starts a sufficient number instances of the CGI program to handle concurrent requests, and these programs remain running to handle further incoming requests.
Questions tagged [fcgid]
16 questions
9
votes
1 answer
mod_fcgid: multi‑threaded FastCGI now or in a planned future?
The fact so far
According to “mod_fcgi is NOT a replacement for mod_fastcgi” and “Issues with mod_fcgid and multi-threaded FastCGI application”, mod_fcgid, is not designed to expect FastCGI servers to be able to handle multiple requests at once,…

Hibou57
- 6,870
- 6
- 52
- 56
4
votes
1 answer
apache mod_fcgid problems
I have a problem on multiple servers than use Apache module mod_fcgid to serve a cgi script that processes the request (ticket validation and similar processing) then serves files on the server based on the result of the processing.
I keep getting…

Frida777
- 81
- 1
- 5
3
votes
1 answer
mod_fcgid.so module not loading with apache 2.4 after upgradation of MAC OSX yosemite
I have upgraded osx 10.8 to 10.10 yosemite.
After up gradation I found that apache version also upgraded from 2.2 to 2.4.
The only thing I found in apache 2.4 that the loadmodule section in apache configuration file for FastCGI giving error and…

Pratip Ghosh
- 41
- 3
3
votes
3 answers
Can the APC cache be shared among multiple PHP processes running as fastcgi/fcgid?
I'm running a LAMP box with PHP running as fcgid. APC is installed and working well. However, each PHP process gets its own cache. This is a problem, because it would make far more sense to have 10 PHP processes with 300MB shared APC cache than 10…

carbocation
- 8,806
- 7
- 25
- 30
1
vote
1 answer
Addhandler fcgid-script.php error
Recently I started using Scriptcase and it requires me to first install PHP and apache.
During apache installation, I need to make some modification in httpd.conf, which is located in C:\apache24\conf
I added contents in the script as following:…

Gan
- 43
- 1
- 3
1
vote
1 answer
Run Python script from another and pass the variables and output
When looking for a tutorial on passing variables and output between Python scripts I couldn't find any example that would work with the WSGI Server in my example.
I want the output (and variables) returned in HTML instead of seeing it only in the…

Peter G.
- 7,816
- 20
- 80
- 154
1
vote
0 answers
mod_fcgid: can't apply process slot for /home/seekok/fcgi-bin/php5.fcgi
Recently my server started to consume more RAM. Running processes became 500+. This never happened to me over the pass year. I have VPS / 2GB / Ubuntu / Virtualmin.
Apache has MaxClients 256 and default ServerLimit (256). The maximum number of user…

Anthonyinit
- 29
- 1
- 8
0
votes
1 answer
Django + FCGID on Fedora Core 9 -- what am I missing?
Fedora Core 9 seems to have FCGID instead of FastCGI as a pre-built, YUM-managed module. [I'd rather not have to maintain a module outside of YUM; so no manual builds for me or my sysadmins.]
I'm trying to launch Django through the runfastcgi…

S.Lott
- 384,516
- 81
- 508
- 779
0
votes
0 answers
How to configure fcgid.conf for Wt (Witty) C++ Web Application?
I am trying to configure fcgid.conf file for Wt (witty) for apache2 2.4 on Ubuntu 23. I found a config file for FastCGI (not fcgid) and convert commands to fcgid ones using apache2 web page. But one is left FastCgiServer /var/www/html/hello.wt
Here…

lid
- 1
- 1
0
votes
1 answer
Apache fcgid php "Working" idle php processes
We are having an issue where Apache (2.4.10) FCGID (2.3.9) PHP processes are getting stuck in "Working" State on Debian.
These PHP processes occupy no system resources (beyond their previously used memory footprint from processing previous requests)…

Meh-Lindi
- 29
- 6
0
votes
1 answer
Server error: Connection reset by peer | End of script output before headers
My server:
CentOS
Webserver: Apache 2.4.26 and Php 7.1.9, runing Server MPM: event; use mod_fcgid.
I run Xenforo, but It cannot create new thread! Every action create new thread have out put error in PHP logs:
[fcgid:warn] [pid 10863:tid…

Ichte
- 74
- 1
- 7
0
votes
1 answer
FCGI Ruby Gem not found when using apache
I am using Apache with FastCGI to run a ruby application. I have installed the apache fcgi module and also the Ruby fcgi gem.
When I run the fcgi script 'search.fcgi' like so
ruby search.fcgi
It runs successfully. However when starting Apache I…

Garreth
- 1,057
- 2
- 9
- 24
0
votes
1 answer
Phpseclib timeout for read()
I'm using https://github.com/phpseclib/phpseclib to execute cmd's on a Debian server.
echo $ssh->exec("ls");
is working fine for me - but if i try the following (like here) a timeout appears:
$ssh->write("ls -la\n");
echo $ssh->read();
Error log…

Aaroniker
- 170
- 10
- 31
0
votes
0 answers
php encoding utf-8 displayed as ansi
I know this is at age old question but here it goes again.
But i do have really strange issue.
php file containing this
encodingtest.php
prints out…

Ice
- 314
- 1
- 6
- 12
0
votes
1 answer
Wordpress Vs Fcgid - 500 internal server error
I am using wordpress application with multisite concept. Also my web hosting working with mod_fcgid as a server API. At some instances the my site getting 500 internal server error. When I looked into the error log, it shows the repeated warning…

Navane
- 1,348
- 2
- 12
- 25