WordPress.org

Ready to get started?Download WordPress

Forums

/uploads owned by apache, 777, still won't allow img uploads (6 posts)

  1. Matt
    Member
    Posted 5 years ago #

    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?

  2. Matt
    Member
    Posted 5 years ago #

    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?

  3. anttijn
    Member
    Posted 5 years ago #

    did you try to chmod the wp-contet -folder as well?

  4. Matt
    Member
    Posted 5 years ago #

    Yep.

    wp-content 777
    wp-content/uploads 777

  5. anttijn
    Member
    Posted 5 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.

  6. Matt
    Member
    Posted 5 years ago #

    Good idea. I'll try that.

    Thanks AnntiJN.

Topic Closed

This topic has been closed to new replies.

About this Topic