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.

Disk Usage - Ignoring directories created with php script

Discussion in 'General Discussion' started by justhost, Mar 25, 2004.

  1. justhost

    justhost Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Halifax, Nova Scotia
    Hello

    The disk usage stats are not including space used by one of my clients in directories create by his php scripts. He does uploads and modifications to the images via his scripts.

    Does anyone know how I can have WHM display the space used by these directories?

    Thank you.
     
  2. fishfreek

    fishfreek Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    238
    Likes Received:
    0
    Trophy Points:
    16
    This is because you dont have phpsuexec enabled. Enable this and then all your php scripts run as the user account vs being run by the apache user (usually nobody). WHM/CPanel only register file usage based upon who owns the file. Thus files owned by nobody are not counted toward your users quota.

    Read u pon phpsuexec before enabling it as there are a few things you need to make your clients aware of before enabling it.
     
  3. justhost

    justhost Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Halifax, Nova Scotia
    Thank you fishfreek.

    I appreciate your advice.
     
Loading...

Share This Page