Introduction
You can add your desired values to /etc/cl.selector/php.conf
to have them selectable from the PHP Selector drop-down in cPanel.
Procedure
You will want to modify the "Range
" line for the desired PHP setting within /etc/cl.selector/php.conf
. For example:
Directive = memory_limit
Default = 128M
Type = list
Range = 64M,128M,192M,256M,368M,512M
Comment = The maximum amount of memory in bytes a script is allowed to allocate. Set the value to -1 to have no memory limit (not recommended). Use shortcuts for byte values: K (kilo), M (mega), and G (giga). For example, 128M
You would add 1024M
to make that selectable from the dropdown menu in PHP Selector for the PHP memory_limit
:
Range = 64M,128M,192M,256M,368M,512M,1024M
Comments
0 comments
Article is closed for comments.