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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hiryuu at envisiongames dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 01 17:00:03 2025 UTC