title: PHP: move_uploaded_file(): Unable to move '/
body: <p>I keep getting this error on a new server I just setup</p>
  
  <pre class="lang-none prettyprint-override"><code>[Wed Feb 16 22:46:51 2011] [error] [client 71.1.236.114] PHP Warning:  
  move_uploaded_file(upload/110216104651_00134_smooth_1440x900.jpg): 
  failed to open stream: Permission denied in /var/www/admin/_application/models/Roles.model on line 1757, 
  referer: http://nacc.biz/admin/admin/modifyarticle.php?roleid=4
  [Wed Feb 16 22:46:51 2011] [error] [client 71.1.236.114] PHP Warning:  move_uploaded_file():
  Unable to move '/tmp/php6wlOg1' to    'upload/110216104651_00134_smooth_1440x900.jpg' 
  in /var/www/admin/_application/models/Roles.model on line 1757, referer:
  http://nacc.biz/admin/admin/modifyarticle.php?roleid=4
  [Wed Feb 16 22:46:51 2011] [error] [client 71.1.236.114] PHP Notice:  
  Upload Error: Error moving from temp dir in /var/www/admin/_application/models/Roles.model on line 1759,
  referer: http://nacc.biz/admin/admin/modifyarticle.php?roleid=4
  </code></pre>
  
  <p>I added 777 and created a uploads dir, but the error persists. How do I find the path that needs to either be corrected or created?</p>