Questions tagged [mod-fcgid]
127 questions
2
votes
0 answers
Best opcode cache for fcgid? (APC vs eaccelerator vs xcache)
I have been reading a while the web trying to find out about opcode caches for fcgid. As I understand so far APC is not a good solution for fcgid, since APC with fcgid caches only per process and that is inefficient. (ref:…

giorgio79
- 1,837
- 9
- 26
- 36
2
votes
2 answers
Sympa and Postfix: Apache error on list creation
I have setup sympa with postfix. I am having problems with creating lists. Everytime I create a list I get this in my /var/log/apache2/error.log:
postalias: fatal: open /etc/aliases.db: Permission denied
Failed to execute newaliases:…

Lucas Kauffman
- 16,880
- 9
- 58
- 93
2
votes
3 answers
fcgid, suexec, and userdir
I'm trying to set up per-user trac instances, using fcgid. The problem is that trac requires rw access to the trac instance, so I need the fcgi process to run under the respective user.
I have the suexec, fcgid, and userdir Apache modules installed…

Martin v. Löwis
- 580
- 4
- 15
2
votes
1 answer
mod_fcgid, perl script output going to apache error_log
I'm trying to get an old Perl script running again after installing mod_fcgid. I had to install mod_fcgid for a new client, but it seems to have broken some of my other cgi scripts.
When going to the page, its now a 500 error. I checked the error…

LinuxGnut
- 217
- 3
- 9
2
votes
3 answers
How do I remove the ServerSignature added by mod_fcgid?
I'm running Mod_Security and I'm using the SecServerSignature to customize the Server header that Apache returns. This part works fine, however I'm also running mod_fcgid which appends "mod_fcgid/2.3.5" to the header.
Is there any way I can turn…

matthew
- 1,319
- 1
- 11
- 21
2
votes
1 answer
Error logging with PHP and mod_fcgid
I have a mediawiki install that is acting up. Whenever I try to save an article, it goes to a blank screen. All though if I refresh that blank screen, it will go on to work.
I have no idea why it's doing that, but it seems to be that it's a problem…

nbv4
- 603
- 3
- 11
- 18
2
votes
0 answers
mod_fcgid: can't apply process slot for - error repeats every 6 hour
On server, I run Apache via FastCGI using PHP 7.4.13:
/etc/httpd/conf.d/ is configured as this:
# Use FastCGI to process .fcg .fcgi & .fpl scripts
AddHandler fcgid-script fcg fcgi fpl
# Sane place to put sockets and shared memory file
FcgidIPCDir…

Martin Perry
- 129
- 3
1
vote
1 answer
mod_fcgid: error reading data from FastCGI server / 500 Internal Server Error
I've trying to set up an IIPImage server but the Images won't display:
https://oooledge.de/wisski_views/b719fd1ac3844863103c508912965b883443
First here are logs, configs, modules and permissions:
suexec.log
[2019-08-16 07:34:11]: uid: (10000/rnsrk)…

rnsrk
- 21
- 4
1
vote
0 answers
Does httpd reload always kill child fast cgi processes?
I have a large number of fast cgi scripts on a server and when we deploy new scripts we run a systemctl reload httpd since some of our scripts may have changed or underlying data may have changed.
What I'm noticing is that the fast cgi scripts…

Sean
- 143
- 5
1
vote
1 answer
Fix PHP error Invalid argument supplied for foreach() after update PHP & Mysql
I have updated PHP from 5.3 version to PHP 5.6.21 (mod_fcgid) on my CentOs 6.5 vps.
The vps holds 4 Prestashop and almost works but cart doesn't work as expected.
The php error log contains this error:
mod_fcgid: stderr: PHP Warning: Invalid…

ppk
- 143
- 2
- 9
1
vote
0 answers
httpd does not work with mod_fcgid
based on the answer here, centos does not have a mod_fastcgi rpm, but a mod_fcgid could be used for most similar purposes.
https://stackoverflow.com/questions/12005137/centos-mod-fastcgi
Therefore, I installed mod_fcgid using yum on centos7, and…

Tiina
- 175
- 2
- 9
1
vote
0 answers
mod_fcgid: error reading data from FastCGI server
This is my first post here although I often do search and find answers here. This time I've spent a couple of days searching various sites but unfortunately none of the answers in other threads helped in my case.
I manage a few LAMP servers each…

John Mc Murray
- 143
- 1
- 8
1
vote
0 answers
FastCGI and tmpfs
I read some articles about using tmpfs for /tmp and PHP sessions directories for better performance, and it sounds interesting.
I'm using Centos 6 server with LAMP stack (+FastCGI) and in my fcgid.conf I can see two configurations that are…

Rotem
- 147
- 1
- 14
1
vote
0 answers
Simultaneously enable gzip and $STR_REPLACE in CGI in apache
I have a code in my CGI script for text replacement (for example replace 'red' with 'blue')
$STR_SEARCH='red'
$STR_REPLACE='blue'
I am using the below code in .htaccess for enable replace function: (RequestHeader unset Accept-Encoding)
This work…

alex body
- 11
- 1
1
vote
0 answers
100% CPU usage with
My server is having a problem with high cpu usage and 503 error occured all the time for a certain domain which is being hosted on my server together with other websites. The other websites on the same server are working fine. The problem only…

DannyLe
- 11
- 1