php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #4362 Set an include_path from script
Submitted: 2000-05-09 17:38 UTC Modified: 2000-06-12 20:15 UTC
From: tswan at olemiss dot edu Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Release Candidate 1 OS: Linux (2.2.15)
Private report: No CVE-ID: None
 [2000-05-09 17:38 UTC] tswan at olemiss dot edu
It would be nice to be able to call somthing like set_include_path( ) from the script to set a common area to deposit scripts rather than in one global setting in the php.ini file.  This is especially important on websites running virtual hosts.  I would love to see this before final, although it's not a critical feature.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-12 20:15 UTC] zeev at cvs dot php dot net
You can do that by calling ini_set("include_path", "...");
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 22 00:00:01 2026 UTC