下载二进制版本 mysql-5.1.40-linux-i686-glibc23.tar.gz 参考apache 2里mysql安装
./configure --prefix=/usr/local/php-fcgi --with-config-file-path=/usr/local/php-fcgi/etc --with-mysql=/usr/local/mysql --with-zlib-dir --with-png-dir --with-jpeg-dir --with-gd --enable-soap --with-iconv --enable-sockets --enable-mbstring=all --with-curl --with-libxml-dir --with-freetype-dir --enable-zend-multibyte --disable-ipv6 --enable-fastcgi --enable-force-cgi-redirect
已经成为独立项目,从 http://redmine.lighttpd.net/projects/spawn-fcgi/news 下载,http://www.lighttpd.net/download/spawn-fcgi-1.6.3.tar.gz
./configure ;make;make install安装
得到: /usr/local/bin/spawn-fcgi
三个安装方法见 apache 2