php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25071 Let include/require look in PHP_INCLUDE environment variable
Submitted: 2003-08-13 05:23 UTC Modified: 2003-08-13 05:27 UTC
From: jakob dot nielsen at nhst dot no Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: Irrelevant OS: Whatever
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: jakob dot nielsen at nhst dot no
New email:
PHP Version: OS:

 

 [2003-08-13 05:23 UTC] jakob dot nielsen at nhst dot no
Description:
------------
When using PHP on ISP servers, a user normally haven't got access to the php.ini file. Therefore he can't change the include_path settings. Wouldn't it be possible to let include/include_once/require/require_once search for files in a given environment variable as well? For example PHP_INCLUDE. It would be the same as CLASS_PATH in java.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-13 05:27 UTC] sniper@php.net
include_path can be set in .htaccess or in your script using ini_set() 

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 31 03:00:02 2025 UTC