Specifying sys_temp_dir in virtual host; by default
Posted: Mon Nov 12, 2018 4:58 am
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