added configuration for fast-cgi server running php-cgi daemon forked by lighttpd

This commit is contained in:
Matthias Strubel 2014-01-17 17:28:05 +01:00
parent f6429cd241
commit 696917d50d
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#-------------------- FAST CGI stuff
server.modules += ( "mod_fastcgi" )
fastcgi.server = (
".php" => ((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 1
))
)

View file

@ -106,3 +106,4 @@ $HTTP["useragent"] =~ "CaptiveNetworkSupport" {
server.error-handler-404 = "/success.html"
}
include "/opt/piratebox/conf/lighttpd/fastcgi.conf