#1 2008-12-01 23:30:43
求助Lighttpd + PHP安装问题
按照以下的顺序按的Lighttpd + PHP
/opt/bin/ipkg install php-fcgi
/opt/bin/ipkg install lighttpd
vi /opt/etc/lighttpd/lighttpd.conf
需要变更的内容为下面的,其他保持不变.
server.modules中把下面行的"#" 去掉
"mod_fastcgi",
fastcgi.server中,把"#"去掉, 并修改bin-path .
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/opt/bin/php-fcgi"
)
)
)
之后index.htm成功显示,但INFO.PHP显示403!!
離線
#2 2008-12-02 00:02:55
離線
#3 2008-12-02 19:10:46
Re: 求助Lighttpd + PHP安装问题
我找到原因了,我没把下面的#号去掉!还要运行/opt/bin/ipkg install libiconv
fastcgi.server中,把"#"去掉, 并修改bin-path .
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/opt/bin/php-fcgi"
)
)
)
看来现在的版本不用像版主哪么设定了。
離線