加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

Lighttpd无法创建php-fastcgi.socket

发布时间:2020-12-13 13:50:57 所属栏目:PHP教程 来源:网络整理
导读:我已经使用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.socke
我已经使用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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读