php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #16723 make include_path safe
Submitted: 2002-04-21 13:54 UTC Modified: 2002-04-21 14:35 UTC
From: hiryuu at envisiongames dot net Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.2.0 OS: Linux
Private report: No CVE-ID: None
 [2002-04-21 13:54 UTC] hiryuu at envisiongames dot net
Would it be possible to make include_path
1.  Unchangeable (I assume php_admin_value will help here)
2.  Safe to include, regardless of uid/gid or open_basedir

I host a number of sites on a cluster, and I would like to install some libraries (like phplib) globally, but 
the current safe_mode prevents that.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-21 14:35 UTC] daniel@php.net
then use safe_mode_include_dir instead :)

by whatever reason this configuration option can only be found in the CGI version, but not the php version of php.ini.

; When safe_mode is on, UID/GID checks are bypassed when
; including files from this directory and its subdirectories.
; (directory must also be in include_path or full path must
; be used when including)
safe_mode_include_dir =

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 17:01:34 2024 UTC