php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14509 Strange default of safe_mode_exec_dir
Submitted: 2001-12-14 05:14 UTC Modified: 2001-12-14 09:19 UTC
From: cech at debian dot org Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.1.0RC1 OS: Debian
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cech at debian dot org
New email:
PHP Version: OS:

 

 [2001-12-14 05:14 UTC] cech at debian dot 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-14 09:19 UTC] sander@php.net
Submitted twice -> bogus
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC