summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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