Questions tagged [mod-fcgid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
751 views

Apache2/mod_fcgid/PHP Process Limits Not Respected

I've recently moved to Apache2 / mod_fcgid / PHP from nginx / php_fpm. This is the second server on which I've made this migration, but it's used much less frequently than the first, which is working ...
Daniel's user avatar
  • 111
1 vote
1 answer
322 views

ApacheHTTPD mod_suexec, safe_mode, open_basedir

as the Debian developers consider safe_mode (which will not make it into PHP6) and open_basedir inherently broken security measures, I wonder if they can be considered replaceable by mod_suexec ...
benjamin's user avatar
  • 187
0 votes
2 answers
2k 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 = ...
Juddling's user avatar
  • 1,095
1 vote
1 answer
4k views

How can I use SetEnv with mod_fcgid to pass virtualhost specific options to my PHP application? (apache2)

I'm running into some trouble figuring out how I should handle something under FastCGI that worked pretty easily under mod_php. Before I was using SetEnv to pass options from my VirtualHost directive ...
Beau Simensen's user avatar
0 votes
1 answer
2k views

optimizing mod_fcgid for a dedicated site

I'm using mod_fcgid and I'm trying to find resources on how I can optimize it for running a dedicated website, but have had no luck... So far I have: I've got apache2 running and I'm trying to have ...
Mike Williams's user avatar
1 vote
3 answers
2k views

Large File Uploads Consume Disproportionate Amount of Memory

Thinking about this more, the question really is: why is Apache putting an in-progress upload in memory instead of on disk? I should be able to upload a file that's larger than the total memory ...
JKS's user avatar
  • 153
1 vote
3 answers
2k views

PHP + Fcgid hangs if download interrupted

Note: this is the same as this SO post, but is possibly more appropriate here as I suspect the problem is server config related rather than code related. I'm using a LAMP setup with PHP running ...
El Yobo's user avatar
  • 946
0 votes
3 answers
3k views

Why is my apache2, mod_fcgid, php configuration causing 100% cpu usage?

Page load makes a quick initial connection, then hangs about 10 seconds before the page renders. When the server load goes up I start watching top & I see that both CPUs get pegged at times to 100%...
Scott Lundgren's user avatar
2 votes
3 answers
2k views

fcgid, suexec, and userdir

I'm trying to set up per-user trac instances, using fcgid. The problem is that trac requires rw access to the trac instance, so I need the fcgi process to run under the respective user. I have the ...
Martin v. Löwis's user avatar
0 votes
1 answer
1k 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: http://mywebsite/some/path1?...
skyeagle's user avatar
1 vote
1 answer
2k 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, ...
skyeagle's user avatar
0 votes
1 answer
1k views

Mindtouch with fcgid - Fast CGI apache worker thread

Anyone got Dekiwiki / Mindtouch running with fcgid-module? I get 504 and 500 all the time. mod_fcgid: can't apply process slot for /var/www/html/dekiwiki/index.php [Tue Dec 28 06:14:03 2010] [warn] ...
user avatar
0 votes
2 answers
749 views

How to debug a leeching apache process?

I am running apache2 with mod-fcgid, suexec and SysCP. From time to time, the apache process gets stuck using 100% CPU on one core on my server. The apache is also unable to handle any additional ...
Thomas's user avatar
  • 221
2 votes
1 answer
2k views

mod_fcgid, perl script output going to apache error_log

I'm trying to get an old Perl script running again after installing mod_fcgid. I had to install mod_fcgid for a new client, but it seems to have broken some of my other cgi scripts. When going to ...
LinuxGnut's user avatar
  • 217
1 vote
2 answers
1k 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 host1.example....
dev-null-dweller's user avatar
1 vote
1 answer
613 views

Pylons deployment on Apache using mod_fcgid

I tried to deploy my Pylons app using the instructions found here. This simply loads the default Pylons page when I visit the root of my domain. When I try to enter in any path, I receive the message ...
Michael Mior's user avatar
2 votes
3 answers
2k 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....
matthew's user avatar
  • 1,319
1 vote
2 answers
11k views

Apache + SuExec + php-fpm - how to set them up?

I wonder if there is a good guide on how to setup Apache + SuExec + php-fpm? I have a server which I am going to use several separate website. So, I need php to be run as site-owner user. As I can see,...
Vladislav Rastrusny's user avatar
2 votes
1 answer
4k views

Error logging with PHP and mod_fcgid

I have a mediawiki install that is acting up. Whenever I try to save an article, it goes to a blank screen. All though if I refresh that blank screen, it will go on to work. I have no idea why it's ...
nbv4's user avatar
  • 603
0 votes
1 answer
5k views

Apache + mod_fcgid + perl = error 500

I'm trying to setup Apache2.2 with mod_fcgid and libapache2-mod-perl2 with no luck. I've created a fcgi-bin directory in the root directory of my website and put there a test.fcgi file with the ...
user38484's user avatar
  • 313
1 vote
2 answers
7k views

Virtualmin: "PHP execution via fcgid requires the Apache mod_fcgid module"

I have a CentOS server with Virtualmin on it. I have configured PHP the way I want it, using Apache mod_fastcgi. However, when I click "Re-check Config" in Virtualmin, I get PHP execution via fcgid ...
Josh's user avatar
  • 9,208
0 votes
2 answers
2k views

fcgi_mod and phpmyadmin

I have setup Debian Lenny, Apache2, PHP 5.3.1 fcgi_mod, and MySQL and it works fine. But PHPMyadmin doesn't work. When I go to : http://phpmyadmin.domain.com it downloads the index.php under ...
Cudos's user avatar
  • 539
0 votes
2 answers
800 views

CherryPy (or other Python framework) with FastCGI on shared host

I am trying to configure the Python mini-framework CherryPy with FastCGI (actually fcgid) on Apache. I am on a shared host, so I don't have access to httpd.conf, just htaccess. I have followed these ...
user avatar
3 votes
1 answer
5k views

Configuration trouble: PHP through mod_fcgid on CentOS 5.3

I've been Googling and researching the topic for quite a while but found only one thorough guide... That don't work. I want to run PHP through mod_fcgid on Apache2 - CentOS 5.3. With my current ...
Christoffer's user avatar
1 vote
1 answer
3k views

mod_fcgid + Python + Apache 2.2 / RHEL 5 : output to error_log, not browser

I'm trying to get a Django + mod_fcgid setup working (mod_wsgi is tricky as I have a statically-linked Python. Don't ask.) While this was trivial on my Mac OS X development box, getting it running on ...
3 votes
1 answer
5k 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 ...
aaronsw's user avatar
  • 211
1 vote
3 answers
6k views

What could cause apache2 to not run index.php files through PHP FastCGI handler?

I'm trying to run PHP using FastCGI (mod-fcgid) under apache 2 with the worker MPM. I've used this blog post as a reference. It seems I've got everything working except one thing: When apache serves ...
Tobi's user avatar
  • 163

1 2
3