cvs: php4 / php.ini-dist
| From: | Rasmus Lerdorf | Date: | Wed, 04 Jul 2001 03:53:14 +0000 |
| Subject: | cvs: php4 / php.ini-dist | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6071@lists.php.net to get a copy of this message | ||
rasmus Tue Jul 3 23:53:14 2001 EDT
Modified files:
/php4 php.ini-dist
Log:
Stick open_basedir in here
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.85 php4/php.ini-dist:1.86
--- php4/php.ini-dist:1.85 Sun Jun 24 18:40:41 2001
+++ php4/php.ini-dist Tue Jul 3 23:53:12 2001
@@ -1,5 +1,5 @@
[PHP]
-; $Id: php.ini-dist,v 1.85 2001/06/24 22:40:41 phanto Exp $
+; $Id: php.ini-dist,v 1.86 2001/07/04 03:53:12 rasmus Exp $
;;;;;;;;;;;;;;;;;;;
; About this file ;
@@ -111,7 +111,15 @@
;
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,