#14508 [Fbk->NoF]: Strange default of safe_mode_exec_dir
| From: | php-bugs at lists dot php dot net | Date: | Thu, 14 Nov 2002 07:00:02 +0000 |
| Subject: | #14508 [Fbk->NoF]: Strange default of safe_mode_exec_dir | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24849@lists.php.net to get a copy of this message | ||
ID: 14508
Updated by: php-bugs@lists.php.net
Reported By: cech@debian.org
-Status: Feedback
+Status: No Feedback
Bug Type: PHP options/info functions
PHP Version: 4.1.0
New Comment:
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-10-29 16:56:44] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2001-12-14 05:14:17] 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=14508&edit=1