title: Joomla set Temporary PHP directory
body: <p>I installed Joomla 3.1.1 Stable on a Centos system.
  I can access it, browse through it's admin backend and frontend, but I found in the Extension Manager/Warnings that "The PHP temporary directory is not set"
   I went on google and found a fix: I created a php.ini file where I completed this line:</p>
  
  <pre><code>upload_tmp_dir = var/www/html/joomla/tmp
  </code></pre>
  
  <p>I did that because that is the location where I installed joomla (var/www/html/joomla/)
  The fix I found online gave some other location for this folder, it was something with the home/accountname/public_html/... , but I do not have joomla installed in any accounts, it is installed in the "public":  var/www/html folder.
  I am asking what am I doing wrong because even after doing this, the warning stays the same:</p>
  
  <pre><code>"The PHP temporary directory is not set"
  </code></pre>
  
  <p>How can I fix this?
  I set up the permissions for the entire joomla folder to 40777, and then to the inner folders and files so I would avoid a permission conflict. I then disabled the FTP from Global Settings (before doing this I was receiving a lot more errors when trying to upload anything)
  I seriously thought that installing joomla on Centos would not give me so many headaches.
  I need to install an extension in joomla (for a template) and I have an error that says nothing to me:"-1 - An error has occurred." - "Copy file failed" so I try to fix any warnings/errors that may cause this before giving up.</p>
  
  <p>The fixes found online about this error (Copy file failed) refer to joomla 1.5 - 1.6. How is it possible that I still get it in version 3.1 ? It is rather absurd.</p>
  
  <p>Any help would be appreciated.</p>