Skip to main content

Permissions issue with apache and silverstripe

Comments

4 comments

  • cPanelMichael
    Hello :) I recommend switching your PHP handler to suPHP or use DSO with Mod_Ruid2 to ensure files created by the CMS are not owned by the "nobody" username. You can find more information on different PHP handlers at: PHP Handlers Mod_Ruid2 Thank you.
    0
  • talexander
    Ah, that certainly seems to have sorted out the user writing the files to the cache directory!! During an easyapache rebuild is there much downtime or is it staged like the updates process so the client only see minimal, if any downtime?
    0
  • talexander
    Found a response from someone else that answers it. In case anyone else finds this the original Apache/php will run until a successful compilation. Then it will replace your existing files if successful and restart the required services. Couple of seconds outage on a low use server.
    0
  • cPanelMichael
    Yes, that is correct. You typically will only experience an Apache restart when rebuilding Apache/PHP via EasyApache. Keep in mind that you can modify the PHP handler via: "WHM Home " Service Configuration " Configure PHP and suEXEC" Thank you.
    0

Please sign in to leave a comment.