The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
1k 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 ...
1
vote
2answers
984 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
731 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
678 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
295 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 = ...
4
votes
1answer
605 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
88 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 ...
2
votes
1answer
541 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 ...
1
vote
1answer
39 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 ...
1
vote
1answer
450 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
690 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?
0
votes
1answer
363 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 ...
0
votes
1answer
97 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(): ...
0
votes
1answer
161 views

mod-fcgid php and premature end of script using sleep

I have a vps on CentOS. It's configured using PLESK panel. PHP is run by apache and fcgid. I have problem with PHP ending premature when script running for like 10-15 minutes and sending 504 Gateway ...
0
votes
1answer
123 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 ...
0
votes
1answer
30 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 ...
0
votes
1answer
496 views

mod_fcgid: stderr: PHP Fatal error with Plesk 11.5.30 and php-pear

Just upgraded to Plesk 11.5.30 and found out that sending SMTP emails with php pear aren't working anymore with following error message: mod_fcgid: stderr: PHP Fatal error: require_once(): Failed ...
0
votes
1answer
510 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
3k 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 ...
0
votes
1answer
384 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
173 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
777 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 ...
2
votes
0answers
1k 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 ...
1
vote
0answers
426 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
23 views

Finding if the current open processes reaches FcgidMaxProcesses ? (bottleneck)

To make it short : I fail to find if I'm not hitting the FcgidMaxProcesses limit as a bottleneck. Longer version following I have a server Debian Wheezy, two Raid-1 SSDs for system and two ...
0
votes
0answers
56 views

Passing authorization header to PHP - Flesk's fcgid seems to be in the way

I'm trying to configure a PHP application that requires passing through the Authorization header. The server in question is a production server, so there's little room for experiment - any changes ...
0
votes
0answers
51 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 ...
0
votes
0answers
109 views

Adding Memcached (to WordPress) causes PHP (Apache, mod_fcgid) to hang

Quick architecture overview: Nginx serves up static assets and is running as a reverse proxy to PHP (FastCGI, mod_fcgid + Apache). Memcached is running on the same server as well: memcached -d -p ...
0
votes
0answers
70 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 ...
0
votes
0answers
117 views

Apache 2.4 + PHP 5.4 + mod_fcgid response is slower by 2 seconds

I've installed Apache 2.4 on a Windows server (2k8 Std) with PHP 5.4.23 via mod_fcgid. Config options are: AcceptFilter http none AcceptFilter https none FcgidInitialEnv PHPRC ...
0
votes
0answers
119 views

Recommended FCGID Config Settings

I have recently setup a new VPS to host about 10 websites and at the start was getting consistent crashing issues seemingly caused from too many processes starting to zombie processes getting hung. ...
0
votes
0answers
389 views

mod_fcgid process graceful kill fail

I'm getting a lot of those warnings everyday. Sometimes I get 500 Error. [Wed Jul 24 11:20:21 2013] [warn] mod_fcgid: process 31605 graceful kill fail, sending SIGKILL [Wed Jul 24 11:20:36 ...
0
votes
0answers
28 views

Webdav server-side write event script

I need to run a script on the server every time a file is written through WebDAV. Constraints: unix (but not Linux, so I don't have inotify) Apache mod_dav large folder structure, so having a ...
0
votes
0answers
227 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
97 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
254 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
69 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: ...