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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 08:01:29 2024 UTC