From 3b83bf2eb5680f6a5114010113e5ecf8f0045456 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 14 May 2017 10:49:55 +0200 Subject: [PATCH] network/lighttpd: Change some hints in README.SLACKWARE. Signed-off-by: Matteo Bernardini --- network/lighttpd/README.SLACKWARE | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/network/lighttpd/README.SLACKWARE b/network/lighttpd/README.SLACKWARE index 63c0ba2884..b4b29362f3 100644 --- a/network/lighttpd/README.SLACKWARE +++ b/network/lighttpd/README.SLACKWARE @@ -39,6 +39,10 @@ httpd(apache). It works fine with lighttpd with a couple of tweaks. ) ) -4) Change the group of /var/lib/php from "apache" to "lighttpd". - Otherwise, php won't be able to use $_SESSION. +4) Add the lighttpd user to the apache group with a command like + + gpasswd -a lighttpd apache + + Otherwise php won't be able to use $_SESSION, as sessions are stored + in /var/lib/php, owned by root:apache with perms 0770.