Bug #14509 Updated: Strange default of safe_mode_exec_dir

From: Date: Fri, 14 Dec 2001 14:19:15 +0000
Subject: Bug #14509 Updated: Strange default of safe_mode_exec_dir
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73742@lists.php.net to get a copy of this message
ID: 14509 Updated by: sander Reported By: cech@debian.org Old Status: Duplicate Status: Bogus Bug Type: PHP options/info functions Operating System: Debian PHP Version: 4.1.0RC1 New Comment: Submitted twice -> bogus Previous Comments: ------------------------------------------------------------------------ [2001-12-14 05:14:20] cech@debian.org 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 this bug report at http://bugs.php.net/?id=14509&edit=1

« previous php.dev (#73742) next »