Bug #14509: Strange default of safe_mode_exec_dir
| From: | cech at debian dot org | Date: | Fri, 14 Dec 2001 10:14:20 +0000 |
| Subject: | Bug #14509: Strange default of safe_mode_exec_dir | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-73712@lists.php.net to get a copy of this message | ||
From: cech@debian.org
Operating system:
PHP version: 4.1.0
PHP Bug Type: PHP options/info functions
Bug description: Strange default of safe_mode_exec_dir
The default for safe_mode_exec_dir is "1". Why? It's hardwired into the
source. You cannot override it with --with-exec-dir - this sets
PHP_SAFE_MODE_EXEC_DIR and main/main.c has a test for SAFE_MODE_EXEC_DIR,
but that's not used anywhere.
Proposed fix is to change main/main.c with
s/SAVE_MODE_EXEC_DIR/PHP_SAFE_MODE_EXEC_DIR/ and chaning the dafault to use
this macro
--
Edit bug report at: http://bugs.php.net/?id=14509&edit=1