You have to add your values in /etc/cl.selector/php.conf file to select from drop-down in cpanel.
You can change the range of your PHP settings according to your requirement in /etc/cl.selector/php.conf. Here you can check example of this:
Directive = memory_limit
Default = 128M
Type = list...