aboutsummaryrefslogtreecommitdiff
path: root/manifests/series5/hardened.pp
blob: e5124022212584fab71e0701fb2b410917e7964b (plain)
1
2
3
4
5
6
7
8
class php::series5::hardened {
  php::config {
    'allow_url_fopen'   : value => 'Off';
    'allow_url_include' : value => 'Off';
    'disable_functions' : value => 'phpinfo, system, exec, shell_exec, passthru, proc_get_status, proc_open, popen, proc_close, proc_nice, proc_terminate, pcntl_exec, proc_open, show_source, dl, symlink, system_exec';
    #value => 'disable_functions = phpinfo, system, exec, shell_exec, passthru, proc_get_status, proc_open, popen, proc_close, proc_nice, proc_terminate, pcntl_exec, proc_open, curl_init, parse_ini_file, show_source, dl, symlink, syslog, mail, system_exec',
  }
}