[pkg-lighttpd] Bug#362827: Acknowledgement (lighttpd: crash during accessing php files)

Joerg Rieger a.mailinglists at lumrix.net
Tue Apr 18 21:40:23 UTC 2006


the following fastcgi config now works for me:

## 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://www.lighttpd.net/documentation/fastcgi.html

server.modules   += ( "mod_fastcgi" )

## Start an FastCGI server for php4 (needs the php4-cgi package)
fastcgi.server    = ( ".php" =>
             	      ((
                          "bin-path" => "/usr/bin/php4-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"
				        )
				      )
			        )
			    
-- 
LuMriX.net GmbH
http://www.lumrix.net




More information about the pkg-lighttpd-maintainers mailing list