summaryrefslogtreecommitdiffstats
path: root/network/lighttpd/README
diff options
context:
space:
mode:
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
commit82ae300f4867e6e75a3a5c1a36de31d5d5594b26 (patch)
tree6e622b0ef1fc58172b623f9f9eced834194a0727 /network/lighttpd/README
parent05cc16dfae28686c0627956fe3024245cd1b601a (diff)
downloadslackbuilds-82ae300f4867e6e75a3a5c1a36de31d5d5594b26.tar.gz
slackbuilds-82ae300f4867e6e75a3a5c1a36de31d5d5594b26.tar.xz
network/lighttpd: Updated for version 1.4.20
Diffstat (limited to 'network/lighttpd/README')
-rw-r--r--network/lighttpd/README25
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.