very hurry! Can some one help? I will very appreciate your help. Thank you very much!
I did the following to install fastcgi on CentOS release 6.2 (Final) on 64bit: --
1/ $ yum install libtool httpd-devel apr-devel apr
2/ download from cd mod_fastcgi-2.4.6/http://www.fastcgi.com/dist/mod_fastcgi-current.tar.gz
3/ $ tar -xvzf mod_fastcgi-current.tar.gz
4/ $ cd /opt/mod_fastcgi-2.4.6/
$ cp Makefile.AP2 Makefile
$ make top_dir=/usr/lib64/httpd
( here get warning msg such as

n line 769,774,962,967: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘gid_t’ . The solve these warning msg by "vi fcgi_config.c" to change '%ld' to '%ho' in line 769, 774, 962, 967 )
$ make install top_dir=/usr/lib64/httpd
---- configuration ---
5/ vi /etc/httpd/conf.d/mod_fastcgi.conf => create new file with one line
LoadModule fastcgi_module modules/mod_fastcgi.so
6/[root@laolong157 mod_fastcgi-2.4.6]# /etc/init.d/httpd restart
7/ # tail /var/log/httpd/error_log
[Sun Apr 01 09:45:44 2012] [error] (13)Permission denied: FastCGI: doesn't exist and can't be created: Permission denied
[Sun Apr 01 09:45:44 2012] [error] (2)No such file or directory: FastCGI: can't create dynamic directory "/etc/httpd/logs/fastcgi/dynamic": doesn't exist and can't be created: No such file or directory
[Sun Apr 01 09:45:44 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 01 09:45:44 2012] [notice] Digest: done
[Sun Apr 01 09:45:44 2012] [error] (13)Permission denied: FastCGI: doesn't exist and can't be created: Permission denied
[Sun Apr 01 09:45:44 2012] [error] (2)No such file or directory: FastCGI: can't create dynamic directory "/etc/httpd/logs/fastcgi/dynamic": doesn't exist and can't be created: No such file or directory
[Sun Apr 01 09:45:44 2012] [notice] FastCGI: process manager initialized (pid 29021)
[Sun Apr 01 09:45:44 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sun Apr 01 09:45:44 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Sun Apr 01 09:45:44 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fastcgi/2.4.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
8/ ** To solve the above problem, I did following to create these directory and change owner:
# mkdir /var/log/httpd/fastcgi
# chown -R apache.apache /var/log/httpd/fastcgi
# mkdir /var/log/httpd/fastcgi/dynamic
# chown -R apache.apache /var/log/httpd/fastcgi/dynamic
# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
9/ ** And got another error message as following:
# tail /var/log/httpd/error_log
[Sun Apr 01 11:57:56 2012] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sun Apr 01 11:57:56 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 01 11:57:56 2012] [error] (13)Permission denied: FastCGI: apr_dir_open() failed
[Sun Apr 01 11:57:56 2012] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 01 11:57:56 2012] [notice] Digest: done
[Sun Apr 01 11:57:56 2012] [error] (13)Permission denied: FastCGI: apr_dir_open() failed
[Sun Apr 01 11:57:56 2012] [notice] FastCGI: process manager initialized (pid 30367)
[Sun Apr 01 11:57:56 2012] [warn] mod_wsgi: Compiled for Python/2.6.2.
[Sun Apr 01 11:57:56 2012] [warn] mod_wsgi: Runtime using Python/2.6.6.
[Sun Apr 01 11:57:56 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fastcgi/2.4.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations