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!

Restrict the limits set by users with MultiPHP or local php.ini

Discussion in 'EasyApache' started by AndyB78, Mar 14, 2019.

  1. AndyB78

    AndyB78 Well-Known Member

    Joined:
    Oct 7, 2003
    Messages:
    67
    Likes Received:
    1
    Trophy Points:
    158
    Location:
    Romania
    Hello,

    How can we restrict end-users from modifying the limits (memory_limit etc) beyond a certain point with either MultiPHP ini editor or with local php.ini file according to their service level?

    I am using EA4 with CloudLinux but PHp Selector is disabled (we are using MultiPHP).

    Thanks!
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,466
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @AndyB78


    The global limits set per PHP version in WHM>>Software>>MultiPHP INI Editor supersede the limits the user is able to set locally. So that means if you set a PHP Memory Limit of 500MB in WHM while the user can set 1024MB their limit will be 500MB

    Thanks!
     
    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