Questions tagged [mod-fcgid]
The mod-fcgid tag has no usage guidance.
127
questions
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 ...
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 ...
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 = ...
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 ...
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 ...
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 ...
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 ...
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%...
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 ...
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?...
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, ...
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] ...
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 ...
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 ...
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....
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
...
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....
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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...