Skip to content

Commit ce4b400

Browse files
authored
default tmp dir
1 parent 8ae7031 commit ce4b400

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

install/rhel/7/templates/web/php-fpm/default.tpl

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,11 @@ pm.start_servers = 3
1111
pm.min_spare_servers = 2
1212
pm.max_spare_servers = 10
1313

14+
php_admin_value[upload_tmp_dir] = /home/%user%/tmp
15+
php_admin_value[session.save_path] = /home/%user%/tmp
16+
1417
env[HOSTNAME] = $HOSTNAME
1518
env[PATH] = /usr/local/bin:/usr/bin:/bin
16-
env[TMP] = /tmp
17-
env[TMPDIR] = /tmp
18-
env[TEMP] = /tmp
19+
env[TMP] = /home/%user%/tmp
20+
env[TMPDIR] = /home/%user%/tmp
21+
env[TEMP] = /home/%user%/tmp

0 commit comments

Comments
 (0)