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 "socket" => "/var/run/php/php-fpm.sock", # spawned by php-fpm
15 # "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
16 # we enable check-local so you can use server.error-handler-404 for php files too
17 "check-local" => "enable",
19 # "allow-x-send-file" => "enable",
22 # for this to work set in /etc/php/php-fpm.conf:
23 # pm.status_path = /fpm-status
25 # "socket" => "/var/run/php/fpm.sock",
26 # "check-local" => "disable",
27 # "disable-time" => 1,
34 # "host" => "127.0.0.1",
36 # # we enable check-local so you can use server.error-handler-404 for php files too
37 # "check-local" => "enable",
40 # "host" => "192.168.5.93",
42 # # we enable check-local so you can use server.error-handler-404 for php files too
43 # "check-local" => "enable",
48 static-file.exclude-extensions += (".php")