[pkg-lighttpd] r426 - lighttpd/trunk/debian/conf-available
Olaf van der Spek
olafvdspek-guest at alioth.debian.org
Tue May 18 12:22:25 UTC 2010
Author: olafvdspek-guest
Date: 2010-05-18 12:22:20 +0000 (Tue, 18 May 2010)
New Revision: 426
Added:
lighttpd/trunk/debian/conf-available/15-fastcgi.conf
Modified:
lighttpd/trunk/debian/conf-available/10-fastcgi.conf
Log:
split FastCGI PHP conf from FastCGI conf (closes: 515699)
Modified: lighttpd/trunk/debian/conf-available/10-fastcgi.conf
===================================================================
--- lighttpd/trunk/debian/conf-available/10-fastcgi.conf 2010-05-18 12:01:17 UTC (rev 425)
+++ lighttpd/trunk/debian/conf-available/10-fastcgi.conf 2010-05-18 12:22:20 UTC (rev 426)
@@ -3,24 +3,6 @@
## time and socketed communication
##
## Documentation: /usr/share/doc/lighttpd-doc/fastcgi.txt.gz
-## http://www.lighttpd.net/documentation/fastcgi.html
+## http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
-server.modules += ( "mod_fastcgi" )
-
-## Start an FastCGI server for php (needs the php5-cgi package)
-fastcgi.server = ( ".php" =>
- ((
- "bin-path" => "/usr/bin/php-cgi",
- "socket" => "/tmp/php.socket",
- "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"
- ))
-)
+server.modules += ( "mod_fastcgi" )
Added: lighttpd/trunk/debian/conf-available/15-fastcgi.conf
===================================================================
--- lighttpd/trunk/debian/conf-available/15-fastcgi.conf (rev 0)
+++ lighttpd/trunk/debian/conf-available/15-fastcgi.conf 2010-05-18 12:22:20 UTC (rev 426)
@@ -0,0 +1,24 @@
+## FastCGI programs have the same functionality as CGI programs,
+## but are considerably faster through lower interpreter startup
+## time and socketed communication
+##
+## Documentation: /usr/share/doc/lighttpd-doc/fastcgi.txt.gz
+## http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi
+
+## Start an FastCGI server for php (needs the php5-cgi package)
+fastcgi.server += ( ".php" =>
+ ((
+ "bin-path" => "/usr/bin/php-cgi",
+ "socket" => "/tmp/php.socket",
+ "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"
+ ))
+)
More information about the pkg-lighttpd-maintainers
mailing list