SOURCES: lighttpd-php-external.conf (NEW), lighttpd-php-spawned.co...
glen
glen at pld-linux.org
Mon Jul 17 18:12:40 CEST 2006
Author: glen Date: Mon Jul 17 16:12:40 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- provide two PHP setups: externally spawned (by php-fcgi-init) and spawned by lighttpd itself)
---- Files affected:
SOURCES:
lighttpd-php-external.conf (NONE -> 1.1) (NEW), lighttpd-php-spawned.conf (NONE -> 1.1) (NEW), lighttpd-mod_fastcgi.conf (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/lighttpd-php-external.conf
diff -u /dev/null SOURCES/lighttpd-php-external.conf:1.1
--- /dev/null Mon Jul 17 18:12:40 2006
+++ SOURCES/lighttpd-php-external.conf Mon Jul 17 18:12:34 2006
@@ -0,0 +1,17 @@
+# FastCGI server for PHP
+fastcgi.server += (
+ ".php" => ((
+ "socket" => "/var/run/php/php-fcgi.sock",
+ "check-local" => "disable",
+ "bin-copy-environment" => (
+ "PATH", "SHELL", "USER"
+ ),
+ ))
+)
+
+fastcgi.server += (
+ ".php" => ((
+ "host" => "127.0.0.1",
+ "port" => 1026,
+ )),
+)
================================================================
Index: SOURCES/lighttpd-php-spawned.conf
diff -u /dev/null SOURCES/lighttpd-php-spawned.conf:1.1
--- /dev/null Mon Jul 17 18:12:40 2006
+++ SOURCES/lighttpd-php-spawned.conf Mon Jul 17 18:12:34 2006
@@ -0,0 +1,17 @@
+# FastCGI server for PHP
+fastcgi.server += (
+ ".php" => ((
+ "bin-path" => "/usr/bin/php.fcgi",
+ "socket" => "/var/run/php/php-fcgi-" + var.pid + ".sock",
+ "max-procs" => 2,
+ "idle-timeout" => 20,
+ "bin-environment" => (
+ "PHP_FCGI_CHILDREN" => "4",
+ "PHP_FCGI_MAX_REQUESTS" => "10000"
+ ),
+ "bin-copy-environment" => (
+ "PATH", "SHELL", "USER"
+ ),
+ "broken-scriptfilename" => "enable"
+ ))
+)
================================================================
Index: SOURCES/lighttpd-mod_fastcgi.conf
diff -u SOURCES/lighttpd-mod_fastcgi.conf:1.3 SOURCES/lighttpd-mod_fastcgi.conf:1.4
--- SOURCES/lighttpd-mod_fastcgi.conf:1.3 Mon Jul 17 14:51:56 2006
+++ SOURCES/lighttpd-mod_fastcgi.conf Mon Jul 17 18:12:34 2006
@@ -11,41 +11,3 @@
#### fastcgi module
## read fastcgi.txt for more info
#fastcgi.debug = 1
-
-## Start an FastCGI server for PHP
-#fastcgi.server = (
-# ".php" => ((
-# "bin-path" => "/usr/bin/php.fcgi",
-# "socket" => "/var/run/php/php-fastcgi.sock",
-# "max-procs" => 2,
-# "idle-timeout" => 20,
-# "bin-environment" => (
-# "PHP_FCGI_CHILDREN" => "4",
-# "PHP_FCGI_MAX_REQUESTS" => "10000"
-# ),
-# "bin-copy-environment" => (
-# "PATH", "SHELL", "USER"
-# ),
-# "broken-scriptfilename" => "enable"
-# ))
-#)
-
-#### standalone of php-fcgi
-# if you want to use standalone version of php.fcgi
-# install php-fcgi-init, start php-fcgi and then start lighttpd
-
-#fastcgi.server = (
-# ".php" => ((
-# "host" => "127.0.0.1",
-# "port" => 1026,
-# )),
-# # same but via local socket
-# ".php" => ((
-# "socket" => "/var/run/php/php-fcgi.sock",
-# "check-local" => "disable",
-# "allow-x-send-file" => "enable",
-# "bin-copy-environment" => (
-# "PATH", "SHELL", "USER"
-# ),
-# ))
-#)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/lighttpd-mod_fastcgi.conf?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list