[Requires LVE Manager 0.6+]
PHP Selector allows customer to edit php.ini settings. Admin has a full control over which settings can be modified.
To allow settings to be modifiable, it has to be whitelisted in:
/etc/cl.selector/php.conf
Here are some of the examples of allowed directives:
Directive = safe_mode
Default = Off
Type = bool
Remark = <5.4.0
Comment = Enables PHP safe mode. This mode puts a number of restrictions on scripts (say, access to file system) mainly for security reasons.
Default = Off
Type = bool
Remark = <5.4.0
Comment = Enables PHP safe mode. This mode puts a number of restrictions on scripts (say, access to file system) mainly for security reasons.
Directive = safe_mode_include_dir
Type = value
Remark = <5.4.0
Comment = If PHP is in the safe mode and a script tries to access some files, files from this directory will bypass security (UID/GID) checks. Th
e directory must also be in include_path. For example: /dir/inc
Type = value
Remark = <5.4.0
Comment = If PHP is in the safe mode and a script tries to access some files, files from this directory will bypass security (UID/GID) checks. Th
e directory must also be in include_path. For example: /dir/inc
Directive
|
php.ini setting
|
Default
|
Default value
|
Type
|
bool, value (any text), list
|
Range
|
list of values for list Type
|
Comment
|
explanation of the setting to display in UI
|
Admin can modify the settings using piniset command.
Users can use web interface to modify php.ini settings
0 Comments