How to Change the Joomla Temporary Folder
Joomla uses its temporary folder while handling files needed for operations such as extension installation and other temporary processing. If a site has been moved, restored, or its server paths have changed, the saved temporary-folder path may no longer point to a valid writable directory.
Joomla uses its temporary folder while installing extensions, unpacking files, and performing other short-lived filesystem work. If the site was moved, restored, or placed on a server with a different directory layout, the saved temp path can point to a directory that no longer exists or is not writable. Change it to a valid server filesystem path and verify it before relying on extension installs or other file operations.
Prepare a safe temporary directory
Choose an existing directory intended for Joomla temporary files. The PHP process that runs Joomla must be able to write to it. Use an absolute server filesystem path such as /home/account/tmp, not a public URL such as https://example.com/tmp.
- Confirm the directory exists before saving the setting.
- Use the normal ownership and permissions model for your hosting environment.
- Do not make the directory world-writable merely to suppress a permissions error.
- After a server migration, do not assume the old absolute path exists on the new server.
Change the Path to Temp Folder in Global Configuration
- Sign in to the Joomla Administrator.
- Go to System → Global Configuration.
- Open the Server tab.
- Find Path to Temp Folder.
- Enter the absolute filesystem path to the prepared writable directory.
- Select Save.
Joomla stores this Global Configuration value in the site's configuration.php. Saving through Administrator is preferable because it avoids unnecessary manual edits and lets Joomla validate the configuration workflow normally.
Verify Joomla can actually use the new path
- Reload Global Configuration and confirm the new value remained saved.
- Open System → System Information → Folder Permissions and review Joomla's writable-directory checks.
- If appropriate, perform a low-risk operation that requires temporary storage, such as installing a known-good extension package in a test or maintenance window.
- Review Joomla and PHP error logs if the operation still reports a temporary-directory or write error.
A saved path is not proof that PHP can write to it. Verification should include a real write-dependent operation or a reliable permissions check.
If the path will not save or remains unwritable
If Global Configuration cannot save, check whether configuration.php is writable under the site's normal hosting permissions and whether a security layer is blocking the change. If the path saves but Joomla still reports it unwritable, investigate directory ownership, PHP user access, open_basedir restrictions, filesystem mounts, or hosting controls.
If Administrator is unavailable after a bad path change, use a controlled hosting file manager or server-access method to restore the previous temp-path value in configuration.php. Back up that file before editing it manually.
Keep the temp path separate from other Joomla paths
The Joomla temp folder is not the same setting as the log folder, cache storage, PHP upload directory, or PHP session path. A migration can break more than one of these independently. Correct only the setting you have verified, then test again rather than changing several paths at once.
Need More Help with Joomla?
Still having trouble? Open a support ticket with QuantaCade Support and we'll be happy to help where we can.
Support priority is given to QuantaCade products, services, and customers. However, we're also happy to assist fellow Joomla users with general Joomla questions and troubleshooting when possible.
QuantaCade is an independent Joomla extension developer and is not official Joomla support. Some issues involving third-party extensions, hosting environments, server configurations, or other systems outside our development control may be beyond what we're able to resolve.