0
我一直在嘗試讓lighttpd工作近兩週,但沒有任何運氣。Lighttpd - fastcgi-backend/ffp/bin/php-cgi未能啓動
我有一個Zyxcel 310 FFP 0.7在棒上運行。我有傳輸工作就好了(女巫包括「捲曲」安裝),但Lighttpd將無法正常工作。
這是我不斷收到的錯誤。 (如果我禁用fastcgi,我只會得到503禁止)。
2013-07-02 21:12:22: (log.c.166) server started
2013-07-02 21:12:22: (mod_fastcgi.c.1103) the fastcgi-backend /ffp/bin/php-cgi failed to start:
2013-07-02 21:12:22: (mod_fastcgi.c.1107) child exited with status 16 /ffp/bin/php-cgi
2013-07-02 21:12:22: (mod_fastcgi.c.1110) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2013-07-02 21:12:22: (mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed.
2013-07-02 21:12:22: (server.c.945) Configuration of plugins failed. Going down.
我已搜查了人,沒有人真的好像知道是什麼了。一些人修復了這個問題,但是修復並沒有幫助我。
這是一些人建議,但我也得到一個錯誤:
[email protected]:~# php -i
php: can't load library 'libxml2.so.2'
我上週/買了一個新的網站建設的個月後在本地主機上測試它。它還遠沒有完成,但我想買它至少是一個開始。該網站將www.volunteeringnews.com「可悲現在仍然空虛」。
所以,如果有人可能有一個想法或錯誤日誌,我可能會發現更多的信息,我會非常感謝。無論如何,這裏是我的配置設置。 (其中的一部分,開始)。
# lighttpd configuration file
#
# use it as a base for lighttpd 1.0.0 and above
#
# $Id: lighttpd.conf,v 1.7 2004/11/03 22:26:05 weigon Exp $
############ Options you really have to take care of ####################
## modules to load
# at least mod_access and mod_accesslog should be loaded
# all other module should only be loaded if really neccesary
# - saves some time
# - saves memory
server.modules = (
# "mod_rewrite",
"mod_redirect",
"mod_alias",
"mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
# "mod_status",
# "mod_setenv",
"mod_fastcgi",
# "mod_proxy",
# "mod_simple_vhost",
# "mod_evhost",
# "mod_userdir",
"mod_cgi",
"mod_compress",
# "mod_ssi",
# "mod_usertrack",
# "mod_expire",
# "mod_secdownload",
# "mod_rrdtool",
"mod_accesslog")
server.modules += ("mod_fastcgi")
## a static document-root, for virtual-hosting take look at the
## server.virtual-* options
server.document-root = "/mnt/HD_a2/public/website/www/"
server.upload-dirs = ("/mnt/HD_a2/tmp")
## where to send error-messages to
server.errorlog = "/mnt/HD_a2/public/website/logs/error.log"
# files to check for if .../ is requested
index-file.names = ("index.php", "index.html",
"index.htm", "default.htm")
## php support
## uncomment the following lines and the mod_fastcgi module above
fastcgi.server = (".php" => ((
"bin-path" => "/ffp/bin/php-cgi",
"socket" => "/tmp/php-cgi.socket",
"max-procs" => 2
)))
沒有人有任何線索? –