diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-11 22:25:32 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 22:25:32 +0200 |
commit | 82ae300f4867e6e75a3a5c1a36de31d5d5594b26 (patch) | |
tree | 6e622b0ef1fc58172b623f9f9eced834194a0727 /network/lighttpd/README | |
parent | 05cc16dfae28686c0627956fe3024245cd1b601a (diff) | |
download | slackbuilds-82ae300f4867e6e75a3a5c1a36de31d5d5594b26.tar.gz |
network/lighttpd: Updated for version 1.4.20
Diffstat (limited to 'network/lighttpd/README')
-rw-r--r-- | network/lighttpd/README | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/network/lighttpd/README b/network/lighttpd/README index 6a9e3e0cf1..d8623f000f 100644 --- a/network/lighttpd/README +++ b/network/lighttpd/README @@ -33,3 +33,28 @@ to stop lighttpd on system shutdown. if [ -x /etc/rc.d/rc.lighttpd ]; then /etc/rc.d/rc.lighttpd stop fi + +* PHP users: +Slackware's default php package is meant to work with +httpd(apache). It works fine with lighttpd with a couple of tweaks. + +1) Copy the php.ini from /etc/httpd to /etc/lighttpd + +2) Uncomment mod_fastcgi from the modules section of +/etc/lighttpd/lighttpd.conf. + +3) Rework the fastcgi section of /etc/lighttpd/lighttpd.conf to the +following: (Or just copy this in below the extisting commented out +fastcgi config.) + +fastcgi.server = ( ".php" => + ( "localhost" => + ( + "socket" => "/tmp/php-fastcgi.socket", + "bin-path" => "/usr/bin/php-cgi -c /etc/lighttpd/php.ini" + ) + ) + ) + +4) Change the group of /var/lib/php from "apache" to "lighttpd". +Otherwise php won't be able to use $_SESSION. |