Summary: | net-www/mod_fastcgi-2.4.2-r1 does not compile with apache 2.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Sonnenschein <johnsonnenschein> |
Component: | [OLD] Server | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 61.terrace-swan, chris, isaac.chanin, nd, zak.kipling |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 114232 | ||
Attachments: |
patch allowing mod_fastcgi to compile vs apache 2.2 and 2.0
an ebuild that uses the mod_fastcgi apache 2.2 patch |
Description
John Sonnenschein
2006-05-16 20:34:38 UTC
Which version of apache, apr, and apr-util are you using? apr-1.2.7 apr-util-1.2.7 (USE="berkdb postgres -gdbm -ldap -sqlite -sqlite3") and apache-2.2.0-r2 (USE="doc ssl -debug -ldap -mpm-event -mpm-peruser -mpm-prefork -mpm-worker -no-suexec -static-modules -threads") Use flags for these particular packages, in case they shed any light mod_fastcgi is known to not work with apache 2.2. (mod_fastcgi uses apr calls from apache 1.3 that are only there in a compatibility mode in apache 2.0 and have been removed in apache 2.2). apache 2.2 support depends on upstream fixing thier code. I'll leave this open for now until I figure out how we're going to handle blocking and upgrade paths from apache 2.0 to 2.2. There is a really ugly hack that will make it work with apache 2.2. It re-enables the compatibility stuff. http://fastcgi.com/archives/fastcgi-developers/2005-December/004060.html It seems that fastcgi has pretty much stopped being maintained, as it hasn't been updated in over two years. There is also this hack for getting fastcgi-2.4.2 to work with apache-2.2.3: http://hack.emilykwan.com/node/95 Could mod_fcgid be a possible replacement? http://fastcgi.coremail.cn/ Apparently, it is being used with the Apache Lounge (Apache 2 on Windows) project: http://www.apachelounge.com/download/ I have only found this through Googling. I have no idea how stable/well maintained it is. I agree with Ben that it appears the original FastCGI project is no longer maintained. It would be nice to see some kind of support for FastCGI with apache-2.2.* though. Created attachment 103300 [details, diff]
patch allowing mod_fastcgi to compile vs apache 2.2 and 2.0
This goes along with an ebuild I used on my system to setup apache 2.2 + mod_fastcgi
Created attachment 103301 [details]
an ebuild that uses the mod_fastcgi apache 2.2 patch
used on my system to get apache 2.2 + mod_fastcgi working
(In reply to comment #6) > Could mod_fcgid be a possible replacement? > http://fastcgi.coremail.cn/ FWIW, I use fcgid and consider it is better. (In reply to comment #9) > (In reply to comment #6) > > Could mod_fcgid be a possible replacement? > > http://fastcgi.coremail.cn/ > > FWIW, I use fcgid and consider it is better. And that's the way we go :) I just sent the announce, that net-www/mod_fastcgi is getting removed in favor of www-apache/mod_fcgid. As far as I can see it, this completely drops the possibility of running standalone fastcgi daemons until Apache 2.4. Or are there different alternatives? mod_fcgid appears to be a fine solution for those using "dynamic" FastCGI apps that are started on first use -- however it doesn't appear to have anything equivalent to the "static" and "external" apps supported by the FastCGIServer and FastCGIExternalServer directives. These are particularly useful if you have apps that take a very long time to start -- FastCGIServer ensures they are pre-started with Apache, while FastCGIExternalServer allows you to restart Apache without restarting your application processes. Is there a supported alternative for users who require this functionality (aside from masking apache >= 2.2 in /etc/portage and retaining the mod_fastcgi ebuild in /usr/local/portage)? Has comment #12 been addressed somewhere? I rely on FastCgiServer and FastCgiExternalServer for a number of my deployments. > And that's the way we go :) I just sent the announce, that net-www/mod_fastcgi > is getting removed in favor of www-apache/mod_fcgid. mod_fastcgi provides functionality that mod_fcgid doesn't. It provides more options for process management. The patch provided claims to work with apache 1.3, 2.0 and 2.2 so could easily be added. It seems to be supported by other distributions... http://fastcgi.com/archives/fastcgi-developers/2007-May/004697.html Can we reinstate it please? will do so latest git snapshot (www-apache/mod_fastcgi-2.4.4_pre20070916) now in cvs |