-
-
Save 582033/ad9d6452ae337d1476b0bc7be8bc793b to your computer and use it in GitHub Desktop.
lighttpd.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.modules += ( "mod_fastcgi" ) | |
server.port = "8000" | |
server.document-root = "/var/root/foo/www" | |
index-file.names = ( "index.php", "index.html" ) | |
fastcgi.server = ( ".php" => | |
(( "socket" => "127.0.0.1:9000", | |
"bin-path" => "/usr/bin/php-cgi", | |
"min-procs" => 1, | |
"max-procs" => 1, | |
"max-load-per-proc" => 4, | |
"bin-environment" => ( | |
"PHP_FCGI_CHILDREN" => "2", | |
"PHP_FCGI_MAX_REQUESTS" => "10000" | |
), | |
"bin-copy-environment" => ( "PATH", "SHELL", "USER" ), | |
"broken-scriptfilename" => "enable", | |
"idle-timeout" => 20 | |
)) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment