apache 2. 环境下编译mod_fastcgi出错处理

tar xvzf mod_fastcgi-2.4.2.tar.gz
cd mod_fastcgi-2.4.2
cp Makefile.AP2 Makefile
make
出现:


mod_fastcgi.c: In function `init_module':
mod_fastcgi.c:270: error: `ap_null_cleanup' undeclared (first use in this function)
mod_fastcgi.c:270: error: (Each undeclared identifier is reported only once
mod_fastcgi.c:270: error: for each function it appears in.)
mod_fastcgi.c: In function `process_headers':
............

等错误,
下载附件到mod_fastcgi目录
执行 patch -p1 < patch
再make && make install

你可能感兴趣的:(apache,C++,c,C#)