How to change default temp directories in FileCloud?
Original Question or Issue:
How can I change the default upload or system temp directories in my FileCloud Server.
Environment:
- Product - FileCloud Server, FileCloud ServerSync, FileCloud Sync, FileCloud Drive, FileCloud Desktop
- Version -
- Platform - Windows, Linux, MacOS
Steps to Reproduce:
Error or Log Message:
Defect or Enhancement Number:
Cause:
Resolution or Workaround:
-
Log on to the FileCloud Server
-
Navigate to the directory below:
-
In Linux, PHP ini file should be under /etc/php5/cli/php.ini
In Windows, PHP ini file should be under XAMPP\php\php.ini
-
-
Locate the parameters below:
-
; Directory where the temporary files should be placed.
; Defaults to the system default (see sys_get_temp_dir)
sys_temp_dir = "<change this to your preferred directory>"
-
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; https://php.net/upload-tmp-dir
;upload_tmp_dir =
upload_tmp_dir = "<change this to your preferred directory>
-
-
Save the changes to the file.
-
Restart the Apache service.
Notes:
These directories can be seen from the Admin Portal's System Check.