Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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.

User overquota but still can upload file via website

Discussion in 'General Discussion' started by schendra, Apr 8, 2018.

  1. schendra

    schendra Registered

    Joined:
    Feb 10, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    We have some users that over quota, it can't upload file via cPanel file manager but still can upload file via their website; wordpress etc, how to prevent it?

    tes3.png tes3.png
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Can you verify which PHP handler is enabled on the system for the version of PHP assigned to this account? You can check via "WHM >> MultiPHP Manager". You can see a difference in how each PHP handler works (in respect to whether files uploaded through PHP scripts are owned by "nobody" instead of "username"):

    PHP Handlers - EasyApache 4 - cPanel Documentation

    Thank you.
     
  3. schendra

    schendra Registered

    Joined:
    Feb 10, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    suphp, the available options are ; cgi, none, suphp. So I must select CGI?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    suPHP is generally what you want to use in order to ensure the files uploaded through PHP scripts are owned by the account username. I recommend checking the ownership values of the files using up disk space in the account to see if they are owned by the account username. EX:

    Code:
    ls -al /home/username/public_html/file.name
    Thank you.
     
Loading...

Share This Page