Questions tagged [mod-fcgid]
127 questions
1
vote
2 answers
PHP Include Always Fails
Apache HTTP Server 2.2.21 with VirtualHosts under SuExec
PHP 5.3.8 via fcgid
Arch Linux 2011.08.19
I am in the process of migrating from shared hosting to VPS. The code I had ran fine before the move but is now failing at this…

Hugh Guiney
- 245
- 2
- 8
- 21
1
vote
1 answer
Can mod_fcgid maintain a hard-minimum number of available appserver processes?
...and if so, how?
I'm using Apache2 + mod_fcgid to serve a perl Catalyst application, on a box that I own, and I'd like for mod_fcgid to maintain a minimum number of spun-up processes ready to go. The docs say that FcgidMinProcessesPerClass only…

dsadinoff
- 265
- 3
- 9
1
vote
5 answers
Unable to upload files larger than 128KB error because of MaxRequestLen update
server :
Plesk panel 10.3.1,
PHP 5,
Apache2
When I updated the plesk panel, I noticed a strange error while uploading files.
My server does not allow any file to be uploaded above the 128kb, even when the settings in /etc/php5/apache2/php.ini are…

Germaike
- 61
- 1
- 7
1
vote
1 answer
Apache with PHP configured as FastCGI and scripts without suffix
I have working FastCGI PHP inside Apache using mod_fcgid. But I noticed that PHP scripts are executed even without .php suffix specified.
Eg: if file is mail.php then http://example.com/mail.php and http://example.com/mail returns same output of PHP…

vladimirm
- 125
- 2
1
vote
4 answers
PHP crashing (seg-fault) under mod_fcgi, apache
I've been programming a site using:
Zend Framework 1.11.5 (complete MVC)
PHP 5.3.6
Apache 2.2.19
CentOS 5.6 i686 virtuozzo on vps
cPanel WHM 11.30.1 (build 4)
Mysql 5.1.56-log
Mysqli API 5.1.56
The issue started here…

András Gyömrey
- 204
- 1
- 3
- 7
1
vote
1 answer
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 like a charm.
The problem is in the PHP…

Daniel
- 111
- 1
1
vote
1 answer
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 combined with mod_fcgid. Do you think this is…

benjamin
- 187
- 1
- 12
1
vote
1 answer
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 to my PHP application. For example:
SetEnv…

Beau Simensen
- 113
- 1
- 4
1
vote
3 answers
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 available to the server.
PHP never enters the…

JKS
- 153
- 1
- 6
1
vote
3 answers
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 through mod_fcgid. For most requests this works well,…

El Yobo
- 946
- 1
- 8
- 11
1
vote
3 answers
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 index.php implicitly (using mod_dir, I think), it…

Tobi
- 163
- 3
- 8
1
vote
1 answer
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, but all of teh tutorials etc I have seen, relate…

skyeagle
- 11
- 4
1
vote
2 answers
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 :
ServerName host1.example.com
DocumentRoot /home/www/host1.example.com/WWW/
…

dev-null-dweller
- 188
- 1
- 9
1
vote
1 answer
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
Unhandled Exception
An unhandled exception was…

Michael Mior
- 388
- 1
- 5
- 17
1
vote
2 answers
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, php-fpm is a little different from php-fcgi. Is…

Vladislav Rastrusny
- 2,671
- 12
- 42
- 56