1

move_uploaded_file failed yet permissions seem right

view story
linux-howto

http://stackoverflow.com – I'm in the process of moving my sites from a shared hosting to a VPS. When testing on my VPS I noticed that all of the sudden I couldn't upload files through a webform anymore. The error: Warning: move_uploaded_file(/uploads/logoklein.jpg): failed to open stream: No such file or directory in /var/www/vhosts/denkproducties.nl/httpdocs/denkproducties/upload.php on line 26 Warning: move_uploaded_file(): Unable to move '/tmp/php01nhmx' to '/uploads/logoklein.jpg' in /var/www/vhosts/denkproducties.nl/httpdocs/denkproducties/upload.php on line 26 There are tons of questions about this on SO, and (HowTos)