The mod-fcgid tag has no wiki summary.
1
vote
2answers
393 views
500 error after mod_fcgid error
I have this error on my sever:
[Mon Feb 27 09:56:03 2012] [error] mod_fcgid:
process /var/www/php-fcgi-scripts/web111/.php-fcgi-starter(7847)
exit(communication error), get unexpected ...
1
vote
2answers
377 views
Apache ignoring extension and executing other files through fastcgi
I've got a problem with configuring apache to run only files with .php extension through FastCGI.
Sample VirtualHost configuration :
<VirtualHost 192.168.0.185:80>
ServerName ...
1
vote
2answers
514 views
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 ...
0
votes
2answers
437 views
PHP with suexec/fcgid
httpd.conf file:
LoadModule fcgid_module modules/mod_fcgid.so
AddHandler fcgid-script .php
FCGIWrapper /usr/local/php5 .php
# manual
MaxRequestsPerProcess 1000
FcgidMaxProcesses 200
...
0
votes
2answers
553 views
mod_fcgid: No space left on device
I'm having a problem where apache2 won't start at all on my VPS, and it outputs this error:
[Mon May 09 07:00:38 2011] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for ...
0
votes
2answers
180 views
Apache2 PHP Notice errors logged
My /var/log/apache2/error.log is filling up about 1GB per hour with PHP Notice errors.
I've tried adding this:
/apache2.conf
php_value error_log none
And in my /cgi/php.ini:
error_reporting = ...
3
votes
1answer
253 views
1GB VPS - Apache Worker MPM - FCGID - Max concurrent connections - RAM CAP
I have spent a week or two researching and setting up my server to run Apache with the Worker MPM and FCID. I am trying to optimize it to allow for the most concurrent connections possible. It has ...
2
votes
1answer
661 views
Apache 2.2 + mod_fcgid + PHP 5.4: (104) Connection reset by peer
On a Debian 6 VPS, I'm running PHP 5.4 via mod_fcgid on a couple of different virtual hosts, managed by Virtualmin GPL. At random, I get 500 Internal Server Errors; restarting Apache brings everything ...
2
votes
1answer
4k views
mod_fcgid process doesn't respawn
I have a Python script running on my server as a FastCGI using Apache2 and mod_fcgid. I let it spawn up to five processes. But I soon get messages like these in the Apache logs:
[Wed Sep 02 23:16:34 ...
1
vote
1answer
896 views
Connection reset by peer: mod_fcgid: error reading data from FastCGI server Issues
Help is greatly needed for our server. We are experiencing random "Connection reset by peer: mod_fcgid: error reading data from FastCGI server" errors which cause a 500 internal server error. If the ...
1
vote
1answer
224 views
Suphp and mod_fcgid on one server
Hi is it possible? My script not work with mod_fcgid, but work with suphp so I would like run one domain with suphp and other with mod_fcgid+xcache on one server. I don't want run every sites with ...
1
vote
1answer
360 views
php set_time_limit not working with mod_fcgid?
It seems set_time_limit function call has no effect when php is running with mod_fcgid (the default in webmin). Can someone tell me how to make it work?
1
vote
1answer
393 views
Premature end of script headers, mod_fcgi
I have PHP website running under mod_fcgi in apache2.
Problem is that in some cases i get (probability is something like 1/400):
Premature end of script headers: controller.php and Internal Server ...
0
votes
1answer
63 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 ...
0
votes
1answer
124 views
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 ...
0
votes
1answer
216 views
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 ...
0
votes
1answer
116 views
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 ...
0
votes
1answer
250 views
Setting Trac with Apache and mod_fcgi results in either 404 or 403
I am trying to create a trac installation on my private server in order to use it for project management.
I followed the instructions for installation and connecting to the apache server that can be ...
0
votes
1answer
525 views
Apache 2.2, worker mpm, mod_fcgid and PHP: Can't apply process slot
We're having an issue on an apache server where every 15 to 20 minutes it stops serving PHP requests entirely. On occasions it will return a 503 error, other times it will recover enough to serve the ...
0
votes
1answer
386 views
FastCGI + Apache: How to map a url to a specific fastcgi binary
I have written two C++ fastcgi applications (foo and foobar). I am running apache 2.2 (prefork) with mod_fcgid on Ubuntu 10.x.
I want to be able to setup apache so that:
...
0
votes
1answer
775 views
How to setup Apache 2.2 (prefork) with mod_fcgid to test a C++ application?
I have written my first fastcgi application (C/C++), and I need to test it to ensure that it is behaving the way I expect it to.
I have searched for examples on setting up Apache 2.2. with mod_fcgid, ...
3
votes
0answers
179 views
Apache mass virtual hosting & suexec & fcgid
I followed Falco's tutorial and everything now works as expected for 2 users (e.g. john and alice) with their relevant directories (/var/www/john and /var/ww/alice).
Now, I want to go to the next ...
1
vote
0answers
696 views
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 ...
0
votes
0answers
9 views
Unable to successfully switch from mod_php to fastCGI and suExec?
So I followed the guidelines on THIS page but can't seem to get it to work properly. The directions assume that no prior installation of apache2 and php exist. But I have been running mod_php on ...
0
votes
0answers
16 views
How to install AWStats with apache2.2 and mod_fcgid
I'm trying to configure AWStats with apache2.2 and mod_fcgi on ancient debian lenny.
Apache gives me error 500 when visiting http://www.myserver.mydomain/awstats/awstats.pl?config=mysite :
Internal ...
0
votes
0answers
63 views
RHEL6 Apache mod_fcgid PHP localhost
I have disabled mod_php on a RHEL6 apache server and installed mod_fcgid. PHP test scripts (info.php) work on the localhost. I know this since info.php returns the apache api as Server ...
0
votes
0answers
167 views
FcgiWrapper Cannot be accessed (but it does exist)
I am having some trouble getting mod_fcgi working under Apache on CentOS 6.3 with the following error message whenever I try to start Apache.
Starting httpd: Syntax error on line 17 of ...
0
votes
0answers
50 views
Apapche mod_fcgid processes limited to 100
I have difficulties configuring mod_fcgid on Apache 2.2 with the worker MPM on ubuntu server.
I tried to set FcgidMaxProcesses in /etc/apache2/conf.d/php5-fcgid.conf to a higher number,
but I observe ...
0
votes
0answers
68 views
How to get uncaught PHP errors from fcgi server
My web hosting company recently replaced suPHP with fcgi on my dedicated server because I needed opcode functionality. Since then I see loads of 500 errors in apache error and php error log is empty. ...
0
votes
0answers
205 views
Enabling mod_fcgid results in 403
I have an EasyPHP 12.1 setup (latest) on Windows 7x64 and I'm trying to enable mod_fcgid for PHP. I have added the following in my httpd.conf
Include conf/extra/httpd-vhosts.conf
LoadModule ...
0
votes
0answers
166 views
mod_fcgid: can't apply process slot
I have a little trouble with my server again. My load raises up very much and my cpu is also at 99%. That all happens if i enable one vhost. I get this error messages in my apache error logs:
...
0
votes
0answers
61 views
include file.php from an other account with fcgid
I have 2 virtual servers (virtualmin) running php as FCGId:
domain: app-base.com
home: /home/appbase
user: appbase (1001)
group: appbase (1001)
domain: app-demo.com
home: /home/appdemo
user: ...
0
votes
0answers
37 views
Long php-cgi runtime under mod_fcgid ok?
When I look at top in linux bash shell, sometimes I notice long running php-cgi processes. Is this ok? (I am running php with mod_fcgid.) I thought that php processes should be a few hundres ...
0
votes
0answers
59 views
web.py with fcgid and suexec
I'm trying to set up web.py under mod_fcgid (and Apache, on CentOS 6). If I follow the instructions at http://webpy.org/cookbook/fastcgi-apache, it just works.
But, I want to go a step further, and ...
0
votes
0answers
65 views
Use different PHP settings for different vhosts with Apache mod-fcgid
I have Apache with mod_fcgid running with several vhost for serving different sites for different domains.
I want to change some php.ini settings, but only for specific vhosts.
With mod_php5 I could ...
0
votes
0answers
74 views
How should I configure mod_fcgid to not timeout when streaming arbitrarily long MJPEG stream?
I've written a FastCGI application which fetches images from an IP camera's MJPEG stream and then outputs them with the MIME type multipart/x-mixed-replace. My intent is to provide a user the ability ...