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
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: 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 21:00:03 2025 UTC