Lighttpd无法创建php-fastcgi.socket

前端之家收集整理的这篇文章主要介绍了Lighttpd无法创建php-fastcgi.socket前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经使用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
原文链接:https://www.f2er.com/php/138926.html

猜你在找的PHP相关文章