2010/10/28 Honza Lefty Škoda <le...@multihost.cz>:
> Hi!
>
> I use mod_fcgid & suexec for safe execution of php scripts. I've
> recently tested the performance of fcgid
> and found out that when i request static page (.html or .css)
> fcgi process is spawned (if doesn't exist yet)

unexpected

>                                                                      and the
> counter "Accesses" on server-status page increments as well.

expected

>
> I'm not sure if this is a bug, result of my wrong settings, or
> desired behavior, but it imho leads to quite poor performance.
> I use mpm_worker, gentoo linux, mod_fcgid 2.3.5, apache 2.2.15.
>
> Pieces of configuration I found relevant:
>
> In file: /etc/apache2/modules.d/20_mod_fcgid.conf

> Options +ExecCGI
> AddHandler the-php .php
> Action the-php /mh-bin/php-wrapper.fcgi

something more is needed to run static files through php; the other
directives are irrelevant

(it is getting processed by php, right?  mod_fcgid can't handle static
file requests itself)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to