[pkg-lighttpd] Bug#711204: lighttpd: bin-path setting is wrong for fast-cgi
Ralph Bacolod
rafiks at devsphoto.com
Wed Jun 5 12:22:23 UTC 2013
Package: lighttpd
Version: 1.4.31-4
Severity: important
Dear Maintainer,
When I installed Lighttpd and when I was trying to setup the fast-cgi, I notice that the server won't
start.
I notice that the setting in 10-fastcgi.conf file for the
"bin-path" = "/usr/php/bin/php-cgi" is wrong.
After I change it to "/usr/bin/php-cgi" it worked.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.9.2 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lighttpd depends on:
ii libattr1 1:2.4.47-1
ii libbz2-1.0 1.0.6-4
ii libc6 2.17-4
ii libfam0 2.7.0-17
ii libldap-2.4-2 2.4.31-1+nmu2
ii libpcre3 1:8.31-2
ii libssl1.0.0 1.0.1e-3
ii libterm-readline-perl-perl 1.0303-1
ii lsb-base 4.1+Debian11
ii mime-support 3.54
ii perl 5.14.2-21
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages lighttpd recommends:
ii spawn-fcgi 1.6.3-1
Versions of packages lighttpd suggests:
ii apache2-utils 2.4.4-5
ii openssl 1.0.1e-3
pn rrdtool <none>
-- Configuration Files:
/etc/lighttpd/conf-available/10-fastcgi.conf changed:
server.modules += ( "mod_fastcgi" )
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"
))
)
/etc/lighttpd/lighttpd.conf changed:
server.modules = (
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
)
server.document-root = "/var/www/rutorrent"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "www-data"
server.groupname = "www-data"
server.port = 8080
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
compress.cache-dir = "/var/cache/lighttpd/compress/"
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list