Questions tagged [mod-fcgid]
124 questions
0
votes
1 answer
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 whenever someone tries to open the website and…
![](../../users/profiles/182632.webp)
Tobias Baumeister
- 101
- 6
0
votes
1 answer
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 client is waiting for a response for many seconds…
![](../../users/profiles/183260.webp)
Soufiane Ghzal
- 101
- 1
0
votes
2 answers
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=libpuzzle.so to my /etc/php.ini. Sadly, extension…
![](../../users/profiles/93517.webp)
Septagram
- 927
- 1
- 8
- 13
0
votes
1 answer
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 included in the server configuration.
I put this…
![](../../users/profiles/178732.webp)
Pax
- 103
- 1
- 4
0
votes
2 answers
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 actual upload in happening, the uploading file is…
![](../../users/profiles/131830.webp)
Ilia
- 1,004
- 1
- 10
- 19
0
votes
1 answer
running .html as .php
How do I edit my .htaccess file using mod_fcgid to turn .html files to act as .php
I tried:
AddHandler fastcgi-script .html
Did not work. I am using cpanel and using php 5.3 and apache 2.2.
![](../../users/profiles/153293.webp)
Nikki Wilson
- 101
- 1
- 7
0
votes
1 answer
mod_fcgid error tied in with server lagg?
im relatively new to running my own server and my host don't seem to be giving me up advice or help on the matter either.
I run a very popular website and after doing some twitter and fb posts to over 2 million fans and followers the server really…
0
votes
3 answers
Preventing error_log flooding
Is there a way to have httpd/php stop logging errors if they are repeating over and over again to prevent flooding?
Currently the /usr/local/apache/logs/error_log file is getting flooded and would like to prevent that.
![](../../users/profiles/112405.webp)
Tiffany Walker
- 6,541
- 13
- 53
- 77
0
votes
1 answer
mod_fcgi produces random 500 Errors
php 5.4.7 via mod_fcgi
when I run the site sometimes it works, sometimes it crashed with 500 Internal Error, this is what I see in error.log everytime I run the script
[Mon Sep 24 18:50:43 2012] [warn] [client 68.231.194.198] (104)Connection reset…
![](../../users/profiles/108649.webp)
DmitrySemenov
- 755
- 2
- 14
- 27
0
votes
1 answer
Host couldn't be reached by domain name, only by IP: Apache's fault?
I have this Windows Server 2003 R2 32 bit machine running Apache 2.4.2 with OpenSSL 1.0.1c and PHP 5.4.5 via mod_fcgid 2.3.7. This config worked just fine for some hours, but then the site couldn't be reached with its domain name, say…
![](../../users/profiles/131010.webp)
MaxArt
- 515
- 1
- 7
- 14
0
votes
1 answer
mod_fcgid not using multiple php interpreters for concurrent requests
I have the following problem with mod_fcgid on apache with php.
Everything runs without any errors but all my requests are processed by one php interpreter, even when I set PHP_FCGI_CHILDREN>1 and there are multiple php interpreters. …
![](../../users/profiles/132530.webp)
maazza
- 254
- 1
- 6
- 14
0
votes
1 answer
PHP-APC Installation
Trying to get my head around the way to install APC cache on PHP 5.3.13. That's a VPS with apache, configured preferably through whm/cpanel (although not only).
I read a bunch of articles where it was suggested to use FastCGI with APC, as suPHP…
![](../../users/profiles/129447.webp)
Leo
- 141
- 1
- 2
0
votes
1 answer
mod_ruid2 over mod_fcgid
I've just started hearing about ruid2 and wondering is it more secure then fcgid? I've heard that it is less secure and more problematic. Are there any differences between the two?
Is fastcgi the same has mod_fcgid
I'm using CPanel.
![](../../users/profiles/112405.webp)
Tiffany Walker
- 6,541
- 13
- 53
- 77
0
votes
1 answer
Deploying django project under sub-URL with Apache/FastCGi
I am trying to deploy a django project under a sub-URL on hostgator hosting. Here is the tutorial I was following: http://support.hostgator.com/articles/django-with-fastcgi
My index.fcgi looks like this:
#!/usr/bin/python2.7
import sys,…
![](../../users/profiles/96166.webp)
Irfan
- 125
- 1
- 4
0
votes
1 answer
Invalid command 'FcgidMaxProcesses'
I try to setup mod_fcgid on Centos and got the message:
Starting httpd: Syntax error on line 16 of /var/www/wcm/apache/staging/cmf/fcgi.conf:
Invalid command 'FcgidMaxProcesses', perhaps misspelled or defined by a module not included in the server…
![](../../users/profiles/121483.webp)
Serge
- 101
- 2