./configure --prefix=/home/php5 --enable-fastcgi --enable-force-cgi-redirect --enable-soap
#支持 fastcgi
lighttpd.conf配置
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
fastcgi.server = ( ".php" =>
(
(
"host" => "127.0.0.1",
"port" => 1026,
"bin-path" => "/usr/local/bin/php-cgi"
)
)
)
modules.conf配置
server.modules = (
"mod_access",
"mod_fastcgi",
)