After installing Joomla there is a system warning that "The PHP temporary folder is not set"
Drop the warning if tmp_path is specified - you can see it on System Information > Configuration File
Adding a php.ini to specify a temporary folder just to silence the warning is a minor annoyance, however this may not be an option for everyone. Experienced administrators learn to ignore this warning, however those new to Joomla are distracted into fixing an error that does not need fixing.
Labels |
Added:
No Code Attached Yet
|
I don’t understand the technical differences but...
Configuration file "tmp_path" is specified
Folder permissions "Temp folder" is the last item and writable
PHP Information Core Directive "upload_tmp_dir" is specified as Local Value and Master Value (values taken from php.ini)
... and I still have a warning
There are long articles about this issue https://www.joomlashack.com/blog/joomla/php-temporary-directory-is-not-set/ but if the values for a temporary path are accessible and everything is working why do we still have a warning?
Warning The PHP temporary folder is not set.
This folder is the folder that PHP uses to store an uploaded file before Joomla can access this file. Whilst the folder not being set isn't always a problem, if you are having issues with manifest files not being detected or uploaded files not being detected, setting this in your php.ini file might fix the issue.
Almost everyone stumbles across this, at least we could list the settings parameter as in other help texts.
What do you think of:
Warning The PHP temporary folder is not set.
This folder is the folder that PHP uses to store an uploaded file before Joomla can access that file.
While the folder is not set is not always a problem, if you are having issues with manifest files not being detected or
uploaded files not being recognized, setting it with upload_tmp_dir in your php.ini file could solve the problem.
At least you know what to do to make the message disappear. I set this on my Linux systems with the line:
upload_tmp_dir = /tmp
in a separate file (arch linux) under /etc/php/conf.d/50-joomla-php.conf
together with all other parameters which are not standard/defaults such as upload_max_filesize
, post_max_size
, and also the modules used such as extension=intl
, etc.
the tmp path in configuration is NOT the same thing as the php temp path