Apache2 FastCGI

Apache2 webserver has 2 modules for FastCGI: mod_fcgid? and mod_fastcgi. mod_fcgid is GPL licensed while mod_fastcgi uses a custom license that is considered "non-free" by debian-legal. I've read it and to me it looks free, I don't understand debian-legal's problems with this license.

The technical differences are more interesting anyway:
  • mod_fastcgi performance is a little better
  • mod_fcgid does not support external FastCGI applications, only forked apps.
  • mod_fcgid routes 1 concurrent request per fork, so forget about using php process management - and thus also php-apc.

NOTE: mod_fcgid documentation on the internet is for version 2.3. The directive syntax has changed from version 2.2 and the documentation for that version is in /usr/share/doc/libapache2-mod-fcgid/doc.html

You probably want (or must) use mod_fastcgi.

-- AvishaiIshShalom - 06 Jul 2010
Topic revision: r2 - 26 Dec 2010 - 11:01:47 - AvishaiIshShalom
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback