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

AndyB78

Well-Known Member
Oct 7, 2003
80
2
158
Romania
cPanel Access Level
Root Administrator
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!
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
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!