[TYPO3-dev] mod_fcgid

Michael Stucki michael at typo3.org
Fri Oct 31 11:21:42 CET 2008


Hi Dan,

Dan Osipov wrote:
> Just read the following article:
> http://typo3.org/development/articles/using-php-with-mod-fcgid/page/1/
> 
> The first page claims enormous speed gains over mod_fastcgi.

You should read more carefully: It says that both work similar, and
their speed gain over traditional CGI is enormeous.

> The last page says the speed is slower than for mod_php.
> I'm confised - what's the fastest, most efficient way to set up PHP
> processing in Apache?

See Ernestos mail that explains most parts already.

mod_php may be a bit faster, but it can't scale well because it only
works with Apaches "prefork" multi-processing model (MPM).

On the other hand, with mod_fcgid you will be able to use the "worker"
MPM which provides real multi-threading capabilities. On multi-processor
systems this will easily compensate the speed advantage of mod_php.

Our company uses mod_fcgid on all servers, and it works just perfect!

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list