1 # FastCGI server for PHP
3 # Sometimes you need to run old html file(s) as php pages, especially if you
4 # are migrating from Apache web server. To treat html pages as php you need to
5 # map multiple extensions to the same fastcgi server using fastcgi.map-extensions
7 #fastcgi.map-extensions = (
14 "bin-path" => "/usr/bin/php.fcgi",
15 "socket" => "/var/run/php/php-fcgi-" + var.pid + ".sock",
18 "bin-environment" => (
19 "PHP_FCGI_CHILDREN" => "4",
20 "PHP_FCGI_MAX_REQUESTS" => "10000"
22 "bin-copy-environment" => (
23 "PATH", "SHELL", "USER"
25 "broken-scriptfilename" => "enable",
26 "check-local" => "enable",
31 static-file.exclude-extensions += (".php")