Support » How-To and Troubleshooting » Running wordpress with php mod on apache and permissions

Running wordpress with php mod on apache and permissions

  • Hi all,

    I’ve deployed wordpress with the wpml plugin which is quite resource intensive and as a result I’ve had to switch from using php fast-cgi to running php as an apache mod.

    The knock on result is that this has caused a whole load of permissions problems for installing plugins, uploading images, updating htaccess, updating super cache etc.

    When running wordpress under fast-cgi this is not a problem as wordpress runs under the user account for fast-cgi which is also quite secure.

    When running wordpress under php/apache mod the only way I can get wordpress to play nice that I know of is to chmod lots of files to 777 which I know is a big no no for security.

    Is there an alternative to this under apache mod (i.e. change file ownership or something?

    I’d love to know if there’s a best of both worlds setup!



Viewing 2 replies - 1 through 2 (of 2 total)
  • I don’t know the answer but I am having a similar problem. My server was set up by a for me with php_mod and now I am finding I can’t update any of the plugins etc. in wordpress because of the permissions issues just like you said.

    For some strange reason when I try switching to fast cgi all I get is an error message on the blog page. Have you ever found a solution to this? My server is quite powerful, so resources are not an issue but I don’t want to be in a position where I am forced to reinstall everything just to get around this headache. I’m a bit fed up actually that the server manager carried out the setup this way knowing I had a wordpress blog.

    When I say fast cgi I meant mod_fcgid

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Running wordpress with php mod on apache and permissions’ is closed to new replies.