Support » Fixing WordPress » phpsuexec

  • johnosmond


    I just recently swithced a setting for apache and my wordpress is running way better.

    I had always had apache suexec turned on but did not have phpsuexec (also called cgi-mode). I turned it on and now everything works that was problematic before. For example, the uploads directory no longer need special permissions or ownership. (755 on the dir and 644 on all files, and no need to assign ‘nobody’ as the group id)

    Also, the automatic updates work with both the wordpress installation and the plugin updates. And if that’s not enough, it seems to run faster!

    Why doesn’t the wordpress community recommend more strongly that you should have apache configured to run phpsuexec? Am I missing the catch-22?

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


    There’s no catch-22. The only reason for why it isn’t broadly recommended is because this change would be up to the hosting provider to make, and if they aren’t already using suPHP or PHPsuEXEC, they probably won’t be willing to change the entire server just for the sake of one account.

    If you aren’t suPHP or PHPsuEXEC, all you need to do is set the files and directories that you wish to edit or update to 666 and 777 respectively.

    Well I don’t disagree that a hosting company would not be willing to do it for one account, but that doesn’t seem like a good reason to never mention it.

    I have been working with wordpress for about 4 months now and never read it anywhere. That seems strange.

    If it’s that much of an advantage it should be touted as such with the disclaimer that some hosting providers might not choose to use phpsuxec.

    Instead the wordpress community seems to act like it’s taboo to even talk about it.

    It would have saved me many hours trying to figure out the best way to make my uploads directory work and why the automatic updates never worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘phpsuexec’ is closed to new replies.