Permissions issues on my hosting

Discussion in 'Web Hosting' started by cash ninja, Aug 7, 2012.

  1. #1
    Hi,

    I wonder if anyone can help me with this. I have an umanaged VPS that I set up. It's got WHM and cPanel on it but I am having loads of permissions issues with a wordpress install that I have done. Things like plugins not being able to write (eg a google sitemaps one) unless I set the permissions wide open, which obviously I don't want to do.

    Anyone got any ideas what I have done wrong? I am happy to answer more detailed questions in terms of setup if that will help.
     
    cash ninja, Aug 7, 2012 IP
  2. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #2
    Likely you're using PHP as an Apache module, so when PHP scripts run they run as "nobody" and it cannot edit files because your files have a different ownership (your cPanel username). Rebuild PHP using EasyApache and choose "suphp", this should solve the issue.
     
    ironcladservers, Aug 7, 2012 IP
  3. cash ninja

    cash ninja Greenhorn

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #3
    Spot on, thanks for your help.
     
    cash ninja, Aug 7, 2012 IP