The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
3answers
931 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 "mod_fcgid/2.3....
0
votes
2answers
534 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 = ...
7
votes
1answer
1k 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 ...
4
votes
1answer
882 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
3k 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 ...
1
vote
1answer
133 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
659 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
1k 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
1k 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
1answer
26 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/" #...
0
votes
1answer
265 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
43 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
743 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
631 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
472 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
967 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
7 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 -...
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
215 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. http://stackoverflow.com/questions/12005137/centos-mod-fastcgi Therefore, I ...
1
vote
0answers
54 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....
1
vote
0answers
56 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: ...
1
vote
0answers
98 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 ...
1
vote
0answers
457 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, ...
1
vote
0answers
636 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
25 views

Apache-2.4.18 doing graceful restarts at random

First: This is not my server, I am very new to this stuff and I did not set it up. The server is running whm and cpanel. There are about 9 websites hosted on this server. Some of it is magento. It is ...
0
votes
0answers
103 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 ...
0
votes
0answers
102 views

Php-Cgi Causing high disk i/o

I have noticed that php-cgi is a top process on my server and its causing very high hard disk utilization, how can i tune php-cgi to utilize less of the hard disk. my server has both apc and ...
0
votes
0answers
180 views

moved to new server - 408 request timeout increase

I just moved a few websites to a new server Apache/2.4.7 - Ubuntu 14.04 SPDY is enabled, I use fcgi_module for PHP as recommended. I don't know if that is relevant, since it is the same configuration ...
0
votes
0answers
349 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-...
0
votes
0answers
208 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
167 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 ...