server.modules += ( "mod_fastcgi" ) ## Start an FastCGI server for php (needs the php5-cgi package) fastcgi.server = ( ".php" => ( "localhost" => ( "host" => "127.0.0.1", "port" => "9000", "allow-x-send-file" => "enable" ) # ("socket" => "/dev/shm/php.socket", # "max-procs" => 40, # "allow-x-send-file" => "enable" # ) # 上面是使用 socket 方式连接 PHP 时使用的 ) )