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 # SIGTERM is graceful shutdown in PLD Linux, use `kill -l' to figure out other signal numbers.
19 # "kill-signal" => 15,
20 "bin-environment" => (
21 "PHP_FCGI_CHILDREN" => "4",
22 "PHP_FCGI_MAX_REQUESTS" => "10000"
24 "bin-copy-environment" => (
27 "broken-scriptfilename" => "enable",
28 "check-local" => "enable",
30 # "allow-x-send-file" => "enable",
34 static-file.exclude-extensions += (".php")