Capítulo 22 . Safe Mode

Índice
Security and Safe Mode
Functions restricted/disabled by safe mode

Security and Safe Mode

Tabela 22-1 .

For further details and definition of the PHP_INI_* constants see ini_set() .

safe_mode boolean

safe_mode_gid boolean

safe_mode_include_dir string

safe_mode_exec_dir string

safe_mode_allowed_env_vars string

Nota :

safe_mode_protected_env_vars string

open_basedir string

Nota :

disable_functions string






Running this script.php



results in this error when safe mode is enabled:
















If you run the same script.php with this open_basedir setting then this is the result:












Then we get this output: