summaryrefslogtreecommitdiffstats
path: root/php-fpm-www.conf
diff options
context:
space:
mode:
Diffstat (limited to 'php-fpm-www.conf')
-rw-r--r--php-fpm-www.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-fpm-www.conf b/php-fpm-www.conf
index 3bba856..a5b8a13 100644
--- a/php-fpm-www.conf
+++ b/php-fpm-www.conf
@@ -217,6 +217,9 @@ slowlog = /var/log/php-fpm/www-slow.log
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
-php_admin_value[session.save_path] = /var/lib/php/session
php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 128M
+
+; Set session path to a directory owned by process user
+php_admin_value[session.save_path] = /var/lib/php/session
+