Support » Installing WordPress » Frustrated – have to open up permissions even though running suEXEC, etc

  • Resolved Norbert McDorbert

    (@dadreviewed)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    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.

    Thread Starter Norbert McDorbert

    (@dadreviewed)

    suPHP diff than suEXEC im assuming?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Yes, they’re different modules.

    Thread Starter Norbert McDorbert

    (@dadreviewed)

    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.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome, and thanks for posting further information!

    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Frustrated – have to open up permissions even though running suEXEC, etc’ is closed to new replies.