diff options
-rw-r--r-- | manifests/vhost/php/standard.pp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp index 0a92057..aea4551 100644 --- a/manifests/vhost/php/standard.pp +++ b/manifests/vhost/php/standard.pp @@ -127,6 +127,9 @@ define apache::vhost::php::standard( if $logmode != 'nologs' { $std_php_settings[error_log] = "${logdir}/php_error_log" } + if $run_mode == 'fcgid' { + $std_php_settings[safe_mode_gid] = 'On' + } if has_key($php_settings,'safe_mode_exec_dir') { $php_safe_mode_exec_dir = $php_settings[safe_mode_exec_dir] |