I'm following the documentation here: http://docs.cloudlinux.com/index.html?custom_php_ini_options.html
I edited /etc/cl.selector/php.conf and copied one of the other directives, then edited the values. So, I copied this one that comes with alt php by default:
And I made it look like this:
Directive = magic_quotes_gpc
Default = On
Type = bool
Remark = <5.4.0
Comment = Sets the magic_quotes state fo...
This did not work. The max_input_vars did not show up as editable in PHP Selector. After doing some troubleshooting, I realized that the problem was the REMARK line. When I remove it, the directive shows up as editable!
Directive = max_input_vars
Default = 1000
Type = value
Remark = >5.3.8
Comment = How many input variables may be accepted.
What is Remark? There is no documentation at all for it. I assumed that it was to help control when this directive shows up. i.e. it should ONLY show up in any PHP version GREATER than 5.3.8, because the directive didn't become available until 5.3.9.
For now, I have removed REMARK, however now customers with even PHP 5.2 are now seeing this directive, when they should not.
1) What is Remark?
2) How do we use it?
3) How can I make sure that any new directives I add to /etc/cl.selector/php.conf are only shown in versions of PHP that are valid for that directive?