Set the Temporary Update Path
On this page
When you update WHMCS, the temporary path allows the system to stage files. You cannot perform automatic updates unless you have specified a writeable temporary path.
Modifying the update configuration requires the Modify Update Configuration administrator role permission, which is separate from the Update WHMCS permission.
Configure a Temporary Path
To configure the temporary update path:
- Create a directory on your server using your preferred FTP client or file manager.
- Make sure that this directory is outside of the public document root (similar to the
attachments
,downloads
, andtemplates_c
directories) and the PHP user can write to it. - We recommend using a descriptive directory name (for example,
update_temp
).
- Make sure that this directory is outside of the public document root (similar to the
- Go to Utilities > Update WHMCS.
- Click Configure Update Settings in the top-right corner of the page.
- Enter the absolute path for the new directory in Temporary Path (for example,
/var/www/html/update_temp
): - Click Save Changes.
Last modified: October 30, 2024