]> granicus.if.org Git - php/commitdiff
Stick open_basedir in here
authorRasmus Lerdorf <rasmus@php.net>
Wed, 4 Jul 2001 03:53:12 +0000 (03:53 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 4 Jul 2001 03:53:12 +0000 (03:53 +0000)
php.ini-dist

index e411294dc07bdbd7a96b7ac4318467f118f56dcb..e5a1bf811abbe9590a0fd9c7e55e9ad81985ab9b 100644 (file)
@@ -111,8 +111,16 @@ allow_call_time_pass_reference = On
 ;
 safe_mode = Off
 
+; 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 =
 
+; 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.
+;
+;open_basedir =
+
 ; 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