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
 [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 15:01:31 2024 UTC