I noticed that users can change the php memory limit using the cpanel’s MultiPHPinit, or their wp-config.php. This could cause exhausted memory for the server as a whole. Is there a soft limit we can place on for each of the domains?
I am going over posts here in the Community Forum that need answered.
These php imits are usually set at the server level under the specific PHP package extension.
And users have a limit on the memory each user is allocated as well. They could set their PHP memory limit to utilize all 2GB of RAM their account has access to, and it would use up that 2GB but no more, since that’s a hard limit.
Here is a cpanel forum also you can check out on limiting resources:
I hope that helps answer your question! Feel free to update here if you have any more comments.