Where's the info?

Patrick Galbraith <Patrick.Galbraith-gZqwhpvwGRR8UrSeD/[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <OF35AE03A2.68848780-ON85257504.00768447-85257504.00777AF3@lycos-inc.com>
Hi all,

I've been around, set up numerous servers in my life, configured all 
manner of things, but trying to get a working fast cgi setup is one of the 
most puzzling things I've had to do in a while. There's no concise source 
of information on how to simply get php working with FastCGI.

 I have Centos 5.2. and was excited when yum search showed me mod_finstall 
mod_fcgi thinking that was fast cgi, but it's some fast cgi clone made in 
china ( think, I can't really tell)... (http://fastcgi.coremail.cn/) What 
that heck??!!!! The config that is installed looks like:


# This is the Apache server configuration file for providing FastCGI 
support
# through mod_fcgid
#
# Documentation is available at http://fastcgi.coremail.cn/doc.htm

LoadModule fcgid_module modules/mod_fcgid.so

# Use FastCGI to process .fcg .fcgi & .fpl scripts
# Don't do this if mod_fastcgi is present, as it will try to do the same 
thing
<IfModule mod_fastcgi.c>
    AddHandler fcgid-script fcg fcgi fpl

    AddHandler  fastcgi-script               .fcgi .fcg .fpl

</IfModule>

# Sane place to put sockets and shared memory file
SocketPath run/mod_fcgid
SharememPath run/mod_fcgid/fcgid_shm


This is really confusing. What is this? Is this FastCGI or an clone 
project? The documentation on the site they give is severely lacking. None 
of the suggested configurations they have on their site work either.

Additionally, I can't get the fast cgi apache module to compile from your 
site to compile:


in file included from /usr/include/features.h:352,
                 from /usr/include/sys/types.h:27,
                 from /usr/include/apr-1/apr-i386.h:113,
                 from /usr/include/apr-1/apr.h:7,
                 from /usr/include/httpd/ap_config.h:25,
                 from /usr/include/httpd/httpd.h:43,
                 from fcgi.h:22,
                 from mod_fastcgi.c:72:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or 
directory
mod_fastcgi.c: In function 'open_connection_to_fs':
mod_fastcgi.c:1083: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
make: *** [mod_fastcgi.slo] Error 1


All I want to do is run PHP using Fast CGI so I can take advantage of 
Suexec. I need to run PHP as the user it's owned by. Every site I look on 
has a different way to set up httpd to use Fast CGI, none of which work.

Is Fast CGI maintained? Is this a route worth going down?

Thanks in advance to any information that can help

My setup:

apache 2.2, centos 5.2 64-bit

Kind regards,

Patrick "CaptTofu" Galbraith

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.