The PHP temporary folder is not writeable

This forum is for general questions about extensions for Joomla! 4.x.

Moderators: pe7er, 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.
Locked
Ozmoz
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jan 01, 2014 3:19 pm

The PHP temporary folder is not writeable

Post by Ozmoz » Wed Jan 18, 2023 5:57 am

I'm getting this error, which is related to Joomla 4 extentions.

Warning The PHP temporary folder is not writeable.

This folder is not writeable by the Joomla! instance, which may cause issues when trying to upload extensions to Joomla. If you are having issues uploading extensions, check the '~/public_html/tmp' and set it to be writeable and see if this fixes the issue.


Logging in via my ftp program it seems to have the right privillages?

Image

Any suggestions?

Cheers,
Oz

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30769
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: The PHP temporary folder is not writeable

Post by Per Yngve Berg » Wed Jan 18, 2023 6:19 am

It must be configured on the server. Contact your host.

Ozmoz
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jan 01, 2014 3:19 pm

Re: The PHP temporary folder is not writeable

Post by Ozmoz » Wed Jan 18, 2023 10:41 am

Ok, I contacted my host who said...

I can confirm that the tmp folder is indeed writable.
I have run a script that should fix the ownership and remounted CageFS for you incase something is awry


There doesn't seem to be anyway within Joomla to reset warnings. So not sure if its still an issue.

It could be a bug within Joomla, or a bug with the coding on one of the extensions I must have installed?



Cheers,
Oz

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30769
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: The PHP temporary folder is not writeable

Post by Per Yngve Berg » Thu Jan 19, 2023 5:39 am

The folder is fine, but what you are looking at is the Joomla tmp folder.

See System->System Information->PHP Information

upload_tmp_dir in php.ini probably does not have a value.

Ozmoz
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jan 01, 2014 3:19 pm

Re: The PHP temporary folder is not writeable

Post by Ozmoz » Thu Jan 19, 2023 5:50 am

Per Yngve Berg wrote:
Thu Jan 19, 2023 5:39 am
The folder is fine, but what you are looking at is the Joomla tmp folder.

See System->System Information->PHP Information

upload_tmp_dir in php.ini probably does not have a value.
Hi Per Yngve Berg,

Just looking at that file now it says ~/public_html/tmp in both Local Value and Master Value.

Oz

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9606
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: The PHP temporary folder is not writeable

Post by AMurray » Thu Jan 19, 2023 10:07 pm

[just an additional comment, not adding my problem to this thread]

I have always had similar similar messages, but they also say it will use an alternative folder "/tmp" within the joomla structure, and not the "temp" folder under the actual server setup. I've never had any issues due to the folder being un-writeable.
Regards - A Murray
General Support Moderator


Locked

Return to “Extensions for Joomla! 4.x”