I'm looking for a way to allow users to make changes to PHP.ini (or .user.ini) but have them limited to a maximum setting. I know suhosin used to be capable of this, but since it doesn't support PHP 7 is there an alternative way to handle this? On top of this pipe-dream, if there is a way to exclude certain accounts from this limit (say, if they pay more on a shared server) how would this be done?
Use-case would be to set the PHP memory to something like 64MB, allow users to change it up to 256MB, and if they pay for more then to allow them to adjust it 512MB (or something).
Use-case would be to set the PHP memory to something like 64MB, allow users to change it up to 256MB, and if they pay for more then to allow them to adjust it 512MB (or something).