我已经使用yum安装了FastCGI,并编辑了我的lighttpd.conf,但是当重新启动服务器时,我收到了这个错误.
2009-06-24 12:44:43: (log.c.97) server started 2009-06-24 12:44:43: (mod_fastcgi.c.924) bind Failed for: unix:/var/run/lighttpd/PHP-fastcgi.socket-0 No such file or directory 2009-06-24 12:44:43: (mod_fastcgi.c.1365) [ERROR]: spawning fcgi Failed. 2009-06-24 12:44:43: (server.c.902) Configuration of plugins Failed. Going down.
我的lighttpd.conf的相关部分是:
fastcgi.server = ( ".PHP" => ( "localhost" => ( #"socket" => "/var/run/lighttpd/PHP-fastcgi.socket",#"bin-path" => "/usr/bin/php-cgi" "socket" => "/tmp/PHP-fastcgi.socket","bin-path" => "/usr/bin/php-cgi" ) ) )
非常感谢.
检查lighttpd是否有权写入/ var / run / lighttpd