network/lighttpd: Change some hints in README.SLACKWARE.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2017-05-14 10:49:55 +02:00 committed by Willy Sudiarto Raharjo
parent bf46a543d4
commit 3b83bf2eb5
1 changed files with 6 additions and 2 deletions

View File

@ -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.