Specifying sys_temp_dir in virtual host; by default
-
- Posts: 6
- Joined: Mon Apr 09, 2018 8:58 am
- Os: Ubuntu 15x
- Web: apache + nginx
Specifying sys_temp_dir in virtual host; by default
Great work by VestaCP team so far.
I suggest you to add the line in the virtual host conf files to specify the sys_temp_dir because in CentOS 7, the php function sys_get_temp_dir() returns '/tmp' otherwise. Currently VestaCP specifies the temp directory for upload_tmp_dir. Need to specify the same value for sys_temp_dir as well.
Thank you!
E.g.
php_admin_value sys_temp_dir /home/someuser/tmp
I suggest you to add the line in the virtual host conf files to specify the sys_temp_dir because in CentOS 7, the php function sys_get_temp_dir() returns '/tmp' otherwise. Currently VestaCP specifies the temp directory for upload_tmp_dir. Need to specify the same value for sys_temp_dir as well.
Thank you!
E.g.
php_admin_value sys_temp_dir /home/someuser/tmp