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!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,408
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,408
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice