I know this is Just Another Image Uploader Problem thread.
The uploaded file could not be moved to /var/www/vhosts/domain.com/httpdocs/wp/wp-content/uploads.
etc
I have to chmod many directories to 777 to get uploads to work, so I chown'ed wp-content/uploads to apache:apache, which is what WP-created files get as owner:group (like wp-config.php).
No dice.
So I chmod'ed it to 777.
No dice.
So what we have is the server trying to write a file to a 777 directory it owns, and it can't.
Why?
Sorry, this needs a bump. I think about this way too often. It's not healthy.
This is so against logic. Can someone out there help me sleep better at night?
AnttiJN
Member
Posted 3 years ago #
did you try to chmod the wp-contet -folder as well?
Yep.
wp-content 777
wp-content/uploads 777
AnttiJN
Member
Posted 3 years ago #
have you tried some simple php upload script to test if the problem is just with your wordpress installation? If a simple php uploader wont work the problem has to be with the server.
Good idea. I'll try that.
Thanks AnntiJN.