php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9635 SAFE MODE always on/off
Submitted: 2001-03-08 14:41 UTC Modified: 2001-06-05 02:33 UTC
From: Keller at DLRG dot de Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.0.3pl1 OS: Linux 2.2.16
Private report: No CVE-ID: None
 [2001-03-08 14:41 UTC] Keller at DLRG dot de
This variable could be only set in php.ini

I've
  safe_mode = on
in php.ini. If i try to set in httpd.conf for special directorys
  PHP_FLAG safe_mode off
it doesn't work

a) I couldn't open temporary uploads per FORM (would perhaps another Bug- Report), because they have the uid of the webserver and not of the script
b) I could'nt serve a default php file for other users in a special directory, eg. a navigation.php which should be integrated in every page.

Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-05 02:33 UTC] sniper@php.net
Use this: php_admin_flag 
(instead of php_flag)

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC