Advertisement
warning The PHP temporary folder is not set
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Intern
- Posts: 62
- Joined: Sun Aug 26, 2012 8:38 am
warning The PHP temporary folder is not set
Hi, i've many sites with JM3 and now some new JM4 sites in hosting on servers managed by Runcloud.io
All JM4 works fine but i've this warning:
"The PHP temporary folder is not set."
On jm/server settings/Path to Temp Folder i've an existing path and on runcloud webapp settings i've included this path on open_basedir, anyway the warning still here !
Is it a Joomla 4 bug ?
All JM4 works fine but i've this warning:
"The PHP temporary folder is not set."
On jm/server settings/Path to Temp Folder i've an existing path and on runcloud webapp settings i've included this path on open_basedir, anyway the warning still here !
Is it a Joomla 4 bug ?
Advertisement
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Sun Dec 12, 2021 9:28 am
Re: warning The PHP temporary folder is not set
No
You have to access at your php.ini file and configure temporary folder:
upload_tmp_dir = (an existing folder tmp on your site)
Beware: delete the ";" at the head of the line
You have to access at your php.ini file and configure temporary folder:
upload_tmp_dir = (an existing folder tmp on your site)
Beware: delete the ";" at the head of the line
-
- Joomla! Champion
- Posts: 6574
- Joined: Tue Aug 23, 2005 1:56 pm
- Location: South coast, UK
- Contact:
Re: warning The PHP temporary folder is not set
Just ignore it,its a warning only.
https://gadsolutions.biz Electrical services
https://electrical-testing-safety.co.uk Testing services
https://electrical-testing-safety.co.uk Testing services
- Per Yngve Berg
- Joomla! Master
- Posts: 31568
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: warning The PHP temporary folder is not set
Using open_basedir, is old school. Not recommended any more. Use User folder permissions instead.
- Webdongle
- Joomla! Master
- Posts: 44890
- Joined: Sat Apr 05, 2008 9:58 pm
Re: warning The PHP temporary folder is not set
If it works don't fix it. When the php tmp file is not set in the master php.ini file then the path for tmp defaults to /tmp. Joomla already has a /tmp folder so (providing the rest of the server is configured correctly) your site should work as expected.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Intern
- Posts: 62
- Joined: Sun Aug 26, 2012 8:38 am
Re: warning The PHP temporary folder is not set
ok, my question is "why joomla this false warning" ?
-
- Joomla! Enthusiast
- Posts: 108
- Joined: Sun Dec 12, 2021 9:28 am
Re: warning The PHP temporary folder is not set
It is not a false warning.
Just a warning is not a fatal error and may be forgotten.
Else, do that I've written.
Just a warning is not a fatal error and may be forgotten.
Else, do that I've written.
- Webdongle
- Joomla! Master
- Posts: 44890
- Joined: Sat Apr 05, 2008 9:58 pm
Re: warning The PHP temporary folder is not set
Not a false warning. It just warns that the tmp folder is not defined in the master php.ini file. If your site is working I recommend not messing as the php default value works (even though the notification does not state that).
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 7
- Joined: Thu Oct 12, 2017 8:21 am
Re: warning The PHP temporary folder is not set
Easiest solution is:
Open root public_html
Click folder "administrator"
add file and name it php.ini
add code:
upload_tmp_dir = //home/put your directory name here/public_html/tmp/
Save
Problem solved
Some people will not have a php.ini file, you can also edit .htaccess file but adding above is simple enough!
Open root public_html
Click folder "administrator"
add file and name it php.ini
add code:
upload_tmp_dir = //home/put your directory name here/public_html/tmp/
Save
Problem solved
Some people will not have a php.ini file, you can also edit .htaccess file but adding above is simple enough!
-
- Joomla! Intern
- Posts: 62
- Joined: Sun Aug 26, 2012 8:38 am
Re: warning The PHP temporary folder is not set
i cannot user php.ini on my hosting but i've to use a file named .user.ini with same parameters
i've just code upload_tmp_dir = //home/put your directory name
but joomla 4 show this warning the same..
joomla 3 does'nt have this warning
anyway, is not so important
i've just code upload_tmp_dir = //home/put your directory name
but joomla 4 show this warning the same..
joomla 3 does'nt have this warning
anyway, is not so important

- Per Yngve Berg
- Joomla! Master
- Posts: 31568
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: warning The PHP temporary folder is not set
A path does not start with double slash in Linux.
- Webdongle
- Joomla! Master
- Posts: 44890
- Joined: Sat Apr 05, 2008 9:58 pm
Re: warning The PHP temporary folder is not set
If it not in the master php.ini file them the command will not be executed will it.
Besides which, defining the path is for when default path /tmp does not relate to the sites /tmp folder.
I repeat if it works don't fix it. The not set warning is just that 'Not set'. It does not check to see if the default path works or not.
Besides which, defining the path is for when default path /tmp does not relate to the sites /tmp folder.
I repeat if it works don't fix it. The not set warning is just that 'Not set'. It does not check to see if the default path works or not.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Intern
- Posts: 62
- Joined: Sun Aug 26, 2012 8:38 am
Re: warning The PHP temporary folder is not set
yes I know, it was just an example
Advertisement