Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default quota problem,help plz!

    hello,
    i have a big problem.
    my php is working as apache mod.
    so files uploaded/created by php scripts get nobody.nobody.
    then these files are not in the user's quota.
    for example,
    the user's space used shows 50M in WHM.
    he upload a file(10M) by php scripts.
    then also shows 50M in WHM.
    so how can i fix it?

    i dont want to change php working as CGI.
    and i've used /scripts/chownpublichtmils,it cause some php scripts error.
    can i have some other things to do with it?
    thank you veryvery much.
    thank you.

    or

    are there some method i can temply solve the problem?
    i can do the method once a period of time,and next period of time,i do it again.
    can i?

    thank you very much!

  2. #2
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    please help me..

  3. #3
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    any ideas?
    thank you~~

  4. #4
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    where are u trying to upload the files.. i guess php upload first goes to /tmp ?

  5. #5
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    Quote Originally Posted by linux-image
    where are u trying to upload the files.. i guess php upload first goes to /tmp ?
    thanks.

    no.
    user uploads files in his dir,but the uploaded files are "nobody.nobody"
    so cause the quota not correct..

    thank you.

  6. #6
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    try

    Main >> Service Configuration >> Enable/Disable SuExec

    enable suexec and see ?

  7. #7
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    Quote Originally Posted by linux-image
    try

    Main >> Service Configuration >> Enable/Disable SuExec

    enable suexec and see ?
    it's already enabled.
    thank you

  8. #8
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Set up a cron(tab) however often you wish to run the following programs:

    /scripts/chownpublichtmls
    /scripts/enablefileprotect
    Beau Henderson

  9. #9
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    Quote Originally Posted by haze
    Set up a cron(tab) however often you wish to run the following programs:

    /scripts/chownpublichtmls
    /scripts/enablefileprotect
    yes i have done above before.
    and it cause some php scripts problem.

    if i disable SuExec,then do above,maybe it doesn't cause php problems?

  10. #10
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    can i do something?
    thank you.
    any suggestions plz..

  11. #11
    Member
    Join Date
    Dec 2004
    Posts
    41

    Default

    help me please..
    space is reducing day by day..

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Haze has already provided you with the answer. If anything breaks after doing that you'll need to investigate and fix it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Replies: 6
    Last Post: 02-15-2011, 10:57 AM
  2. first problem solved now another -_- plz help
    By Caos in forum New User Questions
    Replies: 1
    Last Post: 02-02-2010, 02:54 PM
  3. Mr. chirpy can u look at my problem plz
    By kuwstars in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 03-12-2006, 04:27 PM
  4. Email problem ... plz help!
    By OmanHD.com in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-03-2005, 09:56 PM
  5. plz help i got problem
    By Yojek in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-05-2004, 05:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube