summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGawain Lynch <gawain.lynch@gmail.com>2017-01-22 09:08:48 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-22 09:36:44 +0100
commit4810f610eb9b2dd0f0b9cfbb19275bf31cfe5ddd (patch)
tree8966d0dc74137eab7f856e1a086b3f2cbd90a264
parentd6b639ccc08f885e9de759250527a68516a366a6 (diff)
Update comment about PHP session data directory ownership
-rw-r--r--php-fpm-www.conf9
1 files changed, 8 insertions, 1 deletions
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