Joomla Extension Manager warning (PHP temporary directory is not set)


Have you ever seen this warning message in your Joomla Extension Manager

The PHP temporary directory is not set. The 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.”

Okay here is the solution to remove this message

1. Create a php.ini file in the root folder of your Joomla web site
2. Add your temp directory path to it. It will be like this: upload_tmp_dir = /home/youraccontname/public_html/tmp
3. (Optional) Add a line to your .htaccess file so that your site can use the php.ini file. Add this line to .htaccess

SetEnv PHPRC /home/youraccountname/public_html

Thanks,

Jaswant

Advertisements

9 thoughts on “Joomla Extension Manager warning (PHP temporary directory is not set)

  1. How do you create this file? Where is the root folder of Joomla?…I am so new in this that I dont know how to do it

  2. Generally it is your FTP username provided my most of the hosting provider. May be try to create a php file with in it, upload it to root and run using browser and search for SCRIPT_URL;

  3. Do I write step 2 into the new php.ini file or do you mean to say that one should make sure there that system settings point to the tmp folder in public_html?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s