The tag has no wiki summary.

learn more… | top users | synonyms

-3
votes
1answer
145 views

Single CMS site on dedicated server [duplicate]

Possible Duplicate: Can you help me with my capacity planning? We're about to launch a huge website, expecting a HUGE traffic especially in the first few weeks. It will be a Joomla CMS ...
0
votes
1answer
286 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 ...
4
votes
2answers
3k views

How to stop a random ramp in FCGI Processes Killing the server

So got the below earlier to day... Around that time the logs show a ramp in processes(600) and associated memory (1.2g), cpu usage load average (80) untill the server gave out. Server had to be hard ...
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?
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 ...
2
votes
2answers
11k views

mod_fcgid: read data timeout errors

I moved to an unmanaged server that uses fcgid (before I was using mod_php), and in the error logs I see tons of such errors: [Mon Apr 23 21:17:12 2012] [warn] [client 66.249.68.233] mod_fcgid: ...
2
votes
2answers
475 views

Sympa and Postfix: Apache error on list creation

I have setup sympa with postfix. I am having problems with creating lists. Everytime I create a list I get this in my /var/log/apache2/error.log: postalias: fatal: open /etc/aliases.db: ...
1
vote
1answer
669 views

Setting Trac with Apache and mod_fcgi results in either 404 or 403

I am trying to create a trac installation on my private server in order to use it for project management. I followed the instructions for installation and connecting to the apache server that can be ...
2
votes
1answer
2k views

How do I check if mod_fcgi is enabled in Apache and/or how to enable it?

I have a VPS with CENTOS 5.7 . We are using Apache 2.2.22 and mod_fcgi is supposed to be running according to WHM. I did a httpd -l and mod_fcgid.c was not listed there. I checked the httpd.conf ...
2
votes
2answers
2k 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
1answer
70 views

Logging PHP (fcgid) requests separate from static

With a server running Apache and PHP via mod_fcgid, I'd like to log all requests handled by PHP into a separate file so that I can get a better idea of which requests are going through PHP versus ...
-1
votes
2answers
2k views

500 errors when switching to fcgi in cPanel WHM [closed]

I am trying to switch to fcgi from DSO on a CentOS 5.7 x64 server. I did this within cPanel as suggested by the cPanel documentation. Immediately, I start to get 500 internal server errors when ...
0
votes
2answers
969 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 ...
-1
votes
1answer
327 views

Why are there tons of PHP processes open on my server?

Today I saw that a website of mine isn't working so I ssh'd to the server and executed ps -eF. I see about 200 PHP processes that are running all for 4 hours. Apache is built with mpm event and mod ...
1
vote
2answers
573 views

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 ...
2
votes
1answer
4k views

Access Denied for PHP Files Only

Apache HTTP Server 2.2.21 with VirtualHosts under SuExec PHP 5.3.8 via fcgid Arch Linux 2011.08.19 I am getting 403 Access Denied errors from Apache any time I try to access a PHP file. HTML files ...
0
votes
1answer
241 views

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. ...
0
votes
1answer
885 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 ...
1
vote
4answers
3k views

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 ...
3
votes
1answer
258 views

linux + apache + mpm_worker + mod_fcgid + php5

I am using VPS based hosting for a website and found that default apache2 + prefork + mod_php is too resource intensive for my VPS to achieve acceptable concurrency. (Eating RAM) So I recently ...
0
votes
1answer
476 views

How to I track how many php-cgi processes are in use

I'm running apache 2.2 with PHP 5.2 in FastCGI mode with mod_fcgid. The platform is RedHat Enterprise Linux 5.5 x86_64. I have my minimum and maximum fastcgi slaves set to 35. How do I track how many ...
3
votes
2answers
3k views

A single php-fastcgi process blocks all other PHP requests

I've recently switched to a FastCGI setup for PHP (Apache2-worker and mod_fcgid). However, when a single PHP script is very busy, it seems to block all other PHP requests. What would be wrong with my ...
1
vote
1answer
215 views

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 ...
1
vote
4answers
2k views

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 ...
0
votes
1answer
435 views

Apache w/ fcgid and suexec: second vhost returning 'Forbidden'

I have an Apache install set up with suExec and vhosts.. The original ("primary") vhost works fine, but I'm having some issues with a second one I've added; returning a 403 response. Considering this ...
0
votes
2answers
999 views

mod_fcgid: No space left on device

I'm having a problem where apache2 won't start at all on my VPS, and it outputs this error: [Mon May 09 07:00:38 2011] [emerg] (28)No space left on device: mod_fcgid: Can't create shared memory for ...
3
votes
1answer
2k views

How do I run a PHP web application as a particular user and group on CentOS 5 with Apache?

I'm aware there are various different ways to do this but I'm not sure that the "best" way would be for my particular situation: Each site should have its own user account (site user) Virtual Hosts ...
3
votes
1answer
686 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
votes
2answers
2k views

Apache mod_fcgid keeps giving error

I have ubuntu server, PHP 5.3.2, Apache/2.2.14. and i have drupal website on this server. whenever i try to upload image using imagemanager drupal module i got the following errors in apache log and ...
1
vote
1answer
490 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
1answer
253 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
2answers
410 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 = ...
0
votes
1answer
1k 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
1answer
2k views

optimizing mod_fcgid for a dediciated 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: ive got apache2 running and im trying to have php ...
1
vote
3answers
502 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
3answers
1k 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 ...
1
vote
3answers
2k 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 ...
2
votes
3answers
1k 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
1answer
537 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: ...
1
vote
1answer
1k 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
1answer
944 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
2answers
409 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 ...
1
vote
1answer
931 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
2answers
622 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 ...
1
vote
1answer
514 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 ...
1
vote
3answers
847 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 ...
1
vote
2answers
10k 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 ...
1
vote
1answer
2k 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
1answer
3k 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
2answers
3k 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 ...