WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Frustrated - have to open up permissions even though running suEXEC, etc (7 posts)

  1. Norbert McDorbert
    Member
    Posted 3 years ago #

    I am at my wits end. Basically none of the wordpress files can write to anything without the files/directories being set to public read/write.

    PHP5 SAPI: dso
    SUEXEC: enabled

    ...basically everythings running as nobody. I dont want to assign ownership of nobody.

    Any suggestions? Everyone mentions setting things to 644 but it doesnt work. I have to enable WRITE on the public side for htaccess, etc.

  2. You could ask your hosting provider to run PHP as suPHP so all PHP process run under your username. Otherwise, you'll have to use public-writeable permissions.

  3. Norbert McDorbert
    Member
    Posted 3 years ago #

    suPHP diff than suEXEC im assuming?

  4. Yes, they're different modules.

  5. Norbert McDorbert
    Member
    Posted 3 years ago #

    Thanks James. :)

    Heres my steps in case anyone else stumbles across this thread.

    Since php wasnt running suPHP, I rebuilt php via easyapache, then enabled suPHP for php5 at the end. Probably overkill, but better safe than sorry.

    Once I had uploaded files, i logged into to my site (not root) on this particular domain and ran the commands

    find ~/public_html/ -type d -exec chmod 755 {} \;
    find ~/public_html/ -type f -exec chmod 644 {} \;

    Once that was done, WP install was done verbatim. No issues at all.

    Yes, this is something you all know. However, I wanted to post my solution just in case someone stumbles across this thread from a search engine.

  6. You're welcome, and thanks for posting further information!

  7. Spencer Hill
    Member
    Posted 3 years ago #

    Thanks for the article, very clear and concise!

    I'm experiencing the same issue, but I don't have experience with suPHP or suexec. My problem exists both on my local machine (Snow Leopard client) and on my Media Temple (dv) server, I suspect are resolved by the same solution.

    Anyway, can either of you enlighten me on what those are, what they do, why someone would choose one over the other, and how to install them?

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.