summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-03-08 14:41:45 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-03-08 14:41:45 +0000
commit27e175eef0ccd796d282effdeb7c984e54c51208 (patch)
treee49e336eba11387fef01e3e8b15405d121c52b13 /php.ini-dist
parent689eea9c3c89c946bc34939158e2fcc773ed26b7 (diff)
downloadphp-git-27e175eef0ccd796d282effdeb7c984e54c51208.tar.gz
So long safe_mode mode.
Also removed the magic_quotes configure option, no longer relevant since the magic is gone :-).
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist35
1 files changed, 0 insertions, 35 deletions
diff --git a/php.ini-dist b/php.ini-dist
index c3e8f48ffd..d4fd0ff1ff 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -162,41 +162,6 @@ serialize_precision = 100
; reference).
allow_call_time_pass_reference = On
-;
-; Safe Mode
-;
-safe_mode = Off
-
-; By default, Safe Mode does a UID compare check when
-; opening files. If you want to relax this to a GID compare,
-; then turn on safe_mode_gid.
-safe_mode_gid = Off
-
-; When safe_mode is on, UID/GID checks are bypassed when
-; including files from this directory and its subdirectories.
-; (directory must also be in include_path or full path must
-; be used when including)
-safe_mode_include_dir =
-
-; When safe_mode is on, only executables located in the safe_mode_exec_dir
-; will be allowed to be executed via the exec family of functions.
-safe_mode_exec_dir =
-
-; Setting certain environment variables may be a potential security breach.
-; This directive contains a comma-delimited list of prefixes. In Safe Mode,
-; the user may only alter environment variables whose names begin with the
-; prefixes supplied here. By default, users will only be able to set
-; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
-;
-; Note: If this directive is empty, PHP will let the user modify ANY
-; environment variable!
-safe_mode_allowed_env_vars = PHP_
-
-; This directive contains a comma-delimited list of environment variables that
-; the end user won't be able to change using putenv(). These variables will be
-; protected even if safe_mode_allowed_env_vars is set to allow to change them.
-safe_mode_protected_env_vars = LD_LIBRARY_PATH
-
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is