我想用ligttpd服务器来configurationFastCgi。
我能够像这样运行vanilla lighttpd:./lighttpd -f lighttpd.conf
然后我编译/安装fastcgi的源代码,并在lighttpd.conf中添加以下内容:
fastcgi.server = ( "/fastcgi_scripts/" => (( #"host" => "127.0.0.1", #"port" => 9091, "check-local" => "disable", "bin-path" => "/usr/local/bin/cgi-fcgi", "docroot" => "/" # remote server may use # it's own docroot )) )
但是,我添加上面后,lighttpd不会启动。
你能告诉我如何使用lighttpd运行fastcgi? 我想用fastcgi和lighttpd一起使用ac程序。
谢谢。
这就是全部:
fastcgi.server = ( ".php" => (( "bin-path" => "/usr/bin/php-cgi", "socket" => "/tmp/php.socket" )))