按照Ubuntu wiki安装lighttpd和php后,出现403 Forbidden,查看error.log,发现有一句WARNING: unknown config-key: fastcgi.server (ignored)
,感觉应该是要设置一下fastcgi.server
,搜索发现设置成如下,然后重启lighttpd即可。
fastcgi.server = (".php" => ((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
)))
网友评论