fastcgi.server += (
".php" => ((
- "socket" => "/var/run/php/fcgi.sock",
+ "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
+# "socket" => "/var/run/php/fpm.sock", # spawned by php-fpm
# we enable check-local so you can use server.error-handler-404 for php files too
"check-local" => "enable",
"disable-time" => 1,
- "bin-copy-environment" => (
- "PATH", "SHELL", "USER"
- ),
+# "allow-x-send-file" => "enable",
))
)
# ".php" => (
# "local" => (
# "host" => "127.0.0.1",
-# "port" => 1028,
+# "port" => 1026,
# # we enable check-local so you can use server.error-handler-404 for php files too
# "check-local" => "enable",
# ),
# "slave" => (
# "host" => "192.168.5.93",
-# "port" => 1028,
+# "port" => 1026,
# # we enable check-local so you can use server.error-handler-404 for php files too
# "check-local" => "enable",
# ),