Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Halifax, Nova Scotia
    Posts
    108

    Default Disk Usage - Ignoring directories created with php script

    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.
    Keith Gallant
    JustHosting.ca
    http://www.justhosting.ca

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    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. #3
    Member
    Join Date
    Sep 2003
    Location
    Halifax, Nova Scotia
    Posts
    108

    Default

    Thank you fishfreek.

    I appreciate your advice.
    Keith Gallant
    JustHosting.ca
    http://www.justhosting.ca

Similar Threads & Tags
Similar threads

  1. Disk space usage ignoring files of nobody
    By marxiano533 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-23-2011, 01:05 AM
  2. CLI script to check account disk usage/quota from SSH
    By DomineauX in forum Feature Requests for cPanel/WHM
    Replies: 2
    Last Post: 12-22-2010, 08:28 PM
  3. Script to get disk usage/bandwidth usage?
    By txitcs in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-11-2009, 10:05 AM
  4. Possible to get a domain's total disk usage with a script?
    By electric in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-12-2007, 09:09 AM
  5. Ftp account created with a php script
    By lucasmd in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-23-2006, 04:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube