From 4810f610eb9b2dd0f0b9cfbb19275bf31cfe5ddd Mon Sep 17 00:00:00 2001 From: Gawain Lynch Date: Sun, 22 Jan 2017 09:08:48 +0100 Subject: Update comment about PHP session data directory ownership --- php-fpm-www.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/php-fpm-www.conf b/php-fpm-www.conf index 949a487..dfcfc12 100644 --- a/php-fpm-www.conf +++ b/php-fpm-www.conf @@ -220,7 +220,14 @@ php_admin_value[error_log] = /var/log/php-fpm/www-error.log php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 128M -; Set session path to a directory owned by process user +; Set the following data paths to directories owned by the FPM process user +; +; Do not change the ownership of existing system directories, if the process +; user does not have write permission, create dedicated directories for this +; purpose. +; +; See warning about choosing the location of these directories on your system +; at http://php.net/session.save-path php_value[session.save_handler] = files php_value[session.save_path] = /var/lib/php/session -- cgit