我已经使用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
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。