Questions tagged [mod-fcgid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Do I need a fastcgi development library in addition to mod_fcgid?

Do I need fastcgi development libraries in addition to mod_fcgid. I will use mod_fcgid together with Wt (web toolkit). Cmake files of Wt is searching for an include directory for the file fcgio.h and ...
lid's user avatar
  • 13
0 votes
0 answers
76 views

fcgid is not handling. Why?

I am using: apache2 2.4 on Ubuntu 23 / WT (webtoolkit witty). I am trying to use WT with fcgid. My hello.conf file is: <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ...
lid's user avatar
  • 13
0 votes
2 answers
141 views

Apache cannot find PHP

I have a shortcut: c:/path/to/app1/current_php-cgi.exe.lnk I am trying to do this: FcgidWrapper "c:/path/to/app1/current_php-cgi.exe.lnk" .php And Apache has no issue with the syntax but ...
MonkeyZeus's user avatar
1 vote
1 answer
107 views

How to configure fcgid.conf for Wt (Witty) C++ Web Application?

I am trying to configure fcgid.conf file for Wt (witty-web toolkit) 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 ...
lid's user avatar
  • 13
0 votes
1 answer
690 views

Is FastCGI OK in 2021?

It appears most discussions about FastCGI here are frozen from nearly a decade ago and so as someone who just decided to start making use of it, I'm wondering if I am making a mistake with unforeseen ...
Timothy R. Butler's user avatar
2 votes
0 answers
717 views

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 ...
Martin Perry's user avatar
0 votes
1 answer
337 views

The memory with PHP FCGI continues to grow until the server does not respond

I need advice to configure my server. With these parameters, the memory keeps growing until the server dies without error (Apache or PHP). Can someone help us improve performance? Server Windows ...
SteveLeg's user avatar
1 vote
1 answer
2k views

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: ...
rnsrk's user avatar
  • 21
2 votes
0 answers
788 views

Apache 2.4 not calling Perl FastCGI Authenticator script

My company is currently trying implement a new Perl FastCGI based login script to work with Apache 2.4's mod_fcgid module. Our old one relied on mod_perl to do the bridge between Apache's basic ...
Jorge_Freitas's user avatar
1 vote
0 answers
235 views

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. ...
Sean's user avatar
  • 143
0 votes
1 answer
508 views

Apache + mod_fcgid does not spawn/persist processes

I have apache 2.2 running with mod_fcgid installed, but each request seems to spawn a new process instead of having a pool of workers. Phpinfo confirms fastcgi is working: But no worker processes, a ...
alison_feik's user avatar
0 votes
0 answers
2k views

HAProxy backend requests time out with high waiting time for the server

We started using HAProxy recently and everything works fine so far. However, we are seeing "randomly" some errors on the backend server (Debian + Apache + FCGID + PHP 7) like this: [Wed Jan 31 08:22:...
holger359's user avatar
2 votes
0 answers
394 views

Apache mod_fcgid can't init env request header

we have a few requests randomly occurring with these errors: [Tue Nov 21 05:10:34 2017] [warn] [client XX.XX.XX.XX] mod_fcgid: can't init env request header, referer: https://example.com/ [Tue Nov 21 ...
holger359's user avatar
3 votes
0 answers
145 views

fcgid automatic reload script

I'm a Debian's user and I'm learning mod_fcgid for apache2.4. I want to use it for coding a python script. When I change my script, I have to reload Apache. I have seen that mod_fastcgi has an option ...
romain's user avatar
  • 31
2 votes
0 answers
264 views

SELinux - FCGID program being blocked and no log on /var/log/audit/audit.log

I have a setup where a certain link on my Web Server is redirected to a FCGID module. When I disable SELinux with 'setenforce 0' the site works. When I enable it won't work, it gives me a "Error 500 -...
Vitor Boufleur's user avatar
1 vote
1 answer
4k views

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 ...
ppk's user avatar
  • 143
0 votes
1 answer
535 views

fcgid configuration breaks Apache

I'm trying to include the following block of code on my site in order to run a fast-cgi script: # Create a directory for the iipsrv binary ScriptAlias /fcgi-bin/ "/home/USERNAME/SITENAME/fcgi-bin/" #...
Matthew Davis's user avatar
1 vote
0 answers
850 views

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, ...
Tiina's user avatar
  • 175
1 vote
0 answers
2k views

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 ...
John Mc Murray's user avatar
1 vote
0 answers
308 views

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....
Rotem's user avatar
  • 147
1 vote
0 answers
100 views

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: (...
alex body's user avatar
1 vote
0 answers
50 views

100% CPU usage with [duplicate]

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 ...
DannyLe's user avatar
  • 11
0 votes
3 answers
19k views

Increasing FcgidMaxProcesses does not help to solve "mod_fcgid: can't apply process slot" error

I have a dedicated apache server with high resources. RAM - 64GB Cores - 20 with CentOS 6.7 x64 and Image - FCGI statistics with phpinfo I run Magento application with MySQL as database engine ...
Munjpara's user avatar
1 vote
0 answers
705 views

apache suexec + php + fcgid does not log errors

Strangely my apache does not log errors anymore ever since I managed to enable fcgid and suexec for php processing. Even simple files with only <? dwakdnawjkdn(); ?> won't create any error, even ...
alex's user avatar
  • 417
2 votes
1 answer
9k views

End of script output before headers: php5

I've inherited the sysadmin role on a server that's running a wordpress website on top of Apache 2.4/Debian. It almost works, but it is issuing "500 internal server error" from time to time. In my ...
Lucio Crusca's user avatar
1 vote
0 answers
1k views

File permission problems with Apache, FastCGI, and Prestashop

I am running a Prestashop installation on CentOS 6.5 and Apache 2.2.15. A while back I updated Apache and lost the ability to upload product images via Prestashop backoffice along with other problems, ...
tokih's user avatar
  • 11
0 votes
1 answer
1k views

php with fcgid not working anymore after upgrade to wheezy

I have some issues with a server that I have recently upgraded from Debian Squeeze to Debian Wheezy. When I call a php-page only the php-source-code of the page is beeing show but not interpretated ...
Randy's user avatar
  • 200
4 votes
2 answers
2k views

mod_fcgid: can't apply process slot after software upgrade

I'm on a shared hosting plan with a Wiki and a Bulletin Board installation. After upgrading the Wiki to the latest release my users are not able to upload files with the integrated "media manager" ...
duenni's user avatar
  • 2,949
0 votes
0 answers
529 views

Debian's apache configuration. fcgid or proxy fastcgi + php fpm

I'm trying to figure out, what would be better solution. I have a server with arout 10 vhosts. Now, its configured like in this tutorial: http://www.howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-...
Filip Frątczak's user avatar
2 votes
2 answers
17k views

Internal Server Error and process graceful kill fail

Internal Server Error is registered in browser, in the Apache error log file I can only see the following warn thrown in same time: [warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL ...
ibedelovski's user avatar
0 votes
0 answers
417 views

Interpreting mod_fcgid in log file

I am getting a 500 error occasionally, and it is becoming more frequent. Looking in the apache error log, I find the following. Can someone point me in the right direction as to discovering the cause ...
Ben's user avatar
  • 101
0 votes
2 answers
494 views

"Server too busy" after moving to fcgid

I was previously using mod_fastcgi and had issues as described here with configurations getting ignored. After moving to mod_fcgid, I've seen a whole new issue which is causing issues for all sites ...
MrNorm's user avatar
  • 153
2 votes
1 answer
2k views

Apache2 + mod_fcgid + php stopped working after upgrade from Debian squeeze to wheezy

I've updated my server from Debian squeeze to Debian wheezy. On this server are several apache2 vhost which running php via mod_fcgid (I'm also using mod_suexec but this shouldn't be the problem). ...
morten.c's user avatar
  • 161
3 votes
1 answer
1k views

Getting PHP to work with SPDY?

I recently switched my site over to using HTTPS in all the URL's. (My post here) I am running Apache with PHP on Ubuntu 12.0.4 I was told that I should install the Apache module for SPDY since I ...
JasonDavis's user avatar
  • 2,658
0 votes
0 answers
388 views

Apache, FCGI, and Java setup

I have a Java program that I'm trying to access through my Apache 2.4.7 webserver locally. At first I had it set up as a reverse proxy using mod_proxy_fcgi whereby I would have to start the webserver ...
Cobertos's user avatar
  • 101
1 vote
1 answer
242 views

apache2 with mod_fcgid randomly hangs

I have had this config running on ubuntu 11.10 for more than one year. I had to move the service to a larger server, so I made a complete copy of the os disk with clonezilla and restored it to the new ...
Klein's user avatar
  • 11
0 votes
1 answer
3k views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 Here's how I found out what was going on: $ sudo service ...
Nathan Lutterman's user avatar
3 votes
3 answers
3k views

Apache: orphaned fcgi php processes

We have a webserver with apache 2.2.14, PHP 5.3.2. PHP is executed using mod_fcgid (see bottom). Everything works fine but sometimes, and we still have to figure out what triggers this, when php ...
Maxxer's user avatar
  • 302
0 votes
1 answer
843 views

Apache FastCGI for PHP—increase resources

I would like to install a php based webapp on my server but during the install I get a »500 Internal Error«. On my search through the web I could figure out that this happens because the setup of my ...
philipp's user avatar
  • 137
0 votes
1 answer
1k views

Several Server Errors (No database connect, can't create TCP/IP socket etc

My server stops taking requests on my website today. It works for some time, but then the server just stops working and throws several errors: 500 Internal Server Error Warning: mysql_connect(): Can'...
Tobias Baumeister's user avatar
3 votes
1 answer
20k views

Setting up Apache 2.2 + FastCGI + SuExec + PHP-FPM on Centos 6

I'm trying to follow this very detailed instruction here, I simply changed from www-data user to apache user, and is using /var/www/hosts/sitename/public_html instead of /home/user/public_html ...
mr1031011's user avatar
  • 215
0 votes
1 answer
620 views

mod_fcgid error - unable to connect to server

Sometimes when there's higher traffic on my website, the server randomly stops doing anything and sends 500/503 errors for a few seconds or even minutes. The Error log shows the following message ...
Tobias Baumeister's user avatar
2 votes
2 answers
15k views

libapache2-mod-php5 uninstalled after update impossible to put back

I use Webmin to administrate my Ubuntu 12.04 x86_64 machine. Yesterday, as often, I got notified of updates and installed them. During the installation process, libapache2-mod-php5 has been ...
Nabab's user avatar
  • 189
0 votes
1 answer
71 views

PHP and FCGID goes away for alsmot 1 minute every hour

I'm running an apache2 server on Debian 7 Php files are handled by fcgi. After a migration of server all is working fine. But alsmost every hour the serveur doesnt answer to http requests (http ...
Soufiane Ghzal's user avatar
1 vote
1 answer
1k views

trac: "Internal server error (500)" with mod_fcgid and mod_suexec

I try to setup Trac on a shared server with shell access, SW is Trac 1.0.1, Python 2.6.6, Apache 2.2.15 with mod_fcgid and mod_suexec. I've set it up following the instructions from the wiki of my ...
panne's user avatar
  • 21
0 votes
2 answers
2k views

PHP extension is not loading when running fcgid

I need to use the libpuzzle extension for PHP, and so far I failed to make it run with fcgid. I have installed it (manually, unfortunately, because of the dependency issues) and added the extension=...
Septagram's user avatar
  • 937
0 votes
1 answer
3k views

Setting an Fcgid Directive produces an Invalid Command error

I'm trying to set the MaxRequestInMem, MaxRequestsPerProcess and MaxRequestLen but it keeps on saying that it's an Invalid command 'MaxRequestInMem', perhaps misspelled or defined by a module not ...
Pax's user avatar
  • 103
4 votes
1 answer
7k views

How to find out the current setting for FcgidMaxProcesses on Apache?

While asking this question, I feel that it may be dumb - but I have no idea at the moment... How to find out the current setting for FcgidMaxProcesses on Apache? Background I experienced the ...
BurninLeo's user avatar
  • 910
1 vote
1 answer
1k views

mod_fcgid error after upgrading from PHP5.3 to 5.4

I just made an upgrade from PHP 5.3 to 5.4 via dotdeb.org sources. After that, I get errors on vhosts with active FastCGI-Application. [Mon May 20 21:05:15 2013] [warn] [client xxx.xxx.xxx.xxx] (104)...
Mischa's user avatar
  • 145
0 votes
2 answers
2k views

FCGI and upload_tmp_dir PHP directive are not working correctly

I run PHP as FCGI! I'm setting upload_tmp_dir option as value /home/domain.com/tmp. When executed phpinfo() for double-check it's confirmed that the settings above are correct. Nevertheless, when ...
Ilia Ross's user avatar
  • 1,106