The PHP temporary directory is not set Updated on August 16, 2021 by Brad Markle 1 Minutes, 10 Seconds to Read While performing regular maintenance on our Joomla 2.5 website, we found the following warning in the extension manager: The PHP temporary directory is not setThe PHP temporary directory is the directory that PHP uses to store an uploaded file before Joomla! can access this file. Whilst the directory 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. Fixing the The “PHP temporary directory is not set” error To resolve this issue, you’ll need to adjust the upload_tmp_dir setting in your php.ini file. Please note:Not every user will have a php.ini file! Depending on how your server is setup, you may or may not have access to adjust your php.ini settings. If you don’t have a php.ini file, most settings you can adjust via a .htaccess file as well. It is best to contact your hosting provider for help with updating the upload_tmp_dir setting. If you host you website with InMotion Hosting, you can find more help here with adjusting your php settings. In our example, we created /administrator/php.ini and put in the following code: upload_tmp_dir = /home/userna5/tmp userna5 is our cPanel username, and in the root of our account we have a writable folder named tmp. Share this Article Related Articles How to Use the Free Mini Frontpage Extension for Joomla 4.0 How to Change a Joomla 2.5 User’s Email Address How to Configure Joomla 2.5 to Send Email Using SMTP How to Edit a Joomla 3 Template How to install Phoca Gallery for Joomla 2.5 Creating a Menu Item for your Joomla 3 Component Changing Email Settings in Joomla 3.1 Using the Redirect Manager in Joomla 3.1 How to add Bootstrap to a Joomla 3.1 Template How to Use Bootstrap 5.0 Alerts in Joomla 4.0