Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Specifying sys_temp_dir in virtual host; by default

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
cbsoftware
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
  • Quote

Post by cbsoftware » 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
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password