Hi, Richard, The problem you found is really interesting to me. I would like to take a look at it.
But it seems that the module "mod_fcgid" is not an official Apache module? Since I cannot find it in the manual of Apache httpd-2.4.1 (see the following link) http://httpd.apache.org/docs/2.4/mod/ Also, using "configure -h", I cannot find an "--enable" option related to mod_fcgid. Please tell me where can I find it. I guess it's not an Apache module so the upgrading of Apache causes some incompatibility. Thanks a lot! Tianyin On Wed, Mar 21, 2012 at 8:40 AM, Richard Westebbe <richard.weste...@gmx.de>wrote: > Hello, > > I'm building several RPM's for CentOS 6.2 to get an LAMP environment with > Apache 2.4.1 to work. With mod_fcgid I've got a strange problem I could'nt > find a solution for in the web. When I try to load the module Apache won't > start with the following message: > > > Starting httpd: httpd: Syntax error on line 46 of > /etc/httpd/conf/httpd.conf: Syntax error on line 7 of > /etc/httpd/mods-enabled/mod_fcgid.load: Cannot load > /etc/httpd/modules/mod_fcgid.so into server: > /etc/httpd/modules/mod_fcgid.so: undefined symbol: ap_unixd_setup_child > > > Within a forum thread I read that ap_unixd_setup_children() isn't > available anymore in Apache 2.4.1. There they recomended to use the trunk > version of mod_fcgid, what I did. With the same result... > > When I searched the source code of Apache 2.4.1 for this function I found > it declared in mod_unixd.h. So I would say it is still available in Apache > 2.4.1, which makes me wonder what the problem might be. Further research in > the web and this mailing lists archive didn't help. That why I ask you for > assistance. > > The build part of my spec for mod_fcgid file looks like this: > > %build > ./configure.apxs > make %{?_smp_mflags} > > It compiles without any error messages. > > > Does anybody have an idea what's going wrong, or what I might be doing > wrong? I'm going on to look for a solution for myself, but I would > appreciate any help. This project takes much to much time... > > Thanks a lot in advance! > > Kind regards > > Richard Westebbe > -- Tianyin XU, http://cseweb.ucsd.edu/~tixu/