The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

File Functions not Working

Discussion in 'General Discussion' started by xaze, Nov 6, 2005.

  1. xaze

    xaze Well-Known Member

    Joined:
    Jul 10, 2003
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Why is it that files / folders have to be chmodded 0777 in order for me to edit / delete them with PHP?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Probably because you you're using php as a module and not with phpsuexec which means that php scripts run under the nobody user account and the files are owned by the cPanel accounts. If you'e recently moved from php module to phpsuexec make sure that your files aren't owned by nobody user.

    If you're an end-user, you need to speak to your web hosting provider about such issues.
     
Loading...

Share This Page