thijs
January 31st, 2007, 10:46 AM
I need a good conf file of lighttpd!.:KS
Mirrorball
February 1st, 2007, 04:05 AM
You would get more answers if you had posted this in the Servers and Security forum. ;)
erikringmar
February 3rd, 2007, 01:02 AM
Please let me know if you're getting a reply to this elsewhere. I'm struggling with the lighttpd.conf as well.
Erik
po0f
February 4th, 2007, 05:32 AM
/etc/lighttpd/conf-available/10-fastcgi.conf
## 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)
## ADDED: changed all instances of php4 with php5
fastcgi.server = ( ".php" =>
((
"bin-path" => "/usr/bin/php5-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"
))
)
Requires that php5-cgi (http://packages.ubuntu.com/edgy/web/php5-cgi) be installed. (What I added is in bold.)
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.