]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-php-external.conf
also upload to dropin
[packages/lighttpd.git] / lighttpd-php-external.conf
index 1febeba18b214e505b1b6a7ce158b0b460d7f50a..73741aad31fff31b7dfde1994c1f0ffcfa14db6f 100644 (file)
 
 fastcgi.server += (
        ".php" => ((
-               "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
-#              "socket" => "/var/run/php/fpm.sock", # spawned by php-fpm
+               "socket" => "/var/run/php/php-fpm.sock", # spawned by php-fpm
+#              "socket" => "/var/run/php/fcgi.sock", # spawned by php-fcgi-init
                # we enable check-local so you can use server.error-handler-404 for php files too
                "check-local" => "enable",
                "disable-time" => 1,
 #        "allow-x-send-file" => "enable",
-       ))
+       )),
+
+# for this to work set in /etc/php/php-fpm.conf:
+# pm.status_path = /fpm-status
+#      "/fpm-status" => ((
+#              "socket" => "/var/run/php/fpm.sock",
+#              "check-local" => "disable",
+#              "disable-time" => 1,
+#      )),
 )
 
 #fastcgi.server += (
This page took 0.070528 seconds and 4 git commands to generate.