php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #32550 Support for ~ home directories in paths on linux.
Submitted: 2005-04-02 23:51 UTC Modified: 2016-03-27 07:31 UTC
From: nofulfillment at numbinside dot net Assigned:
Status: Wont fix Package: *General Issues
PHP Version: 5.0.4 OS: GNU/Linux (Slackware 10.1)
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: nofulfillment at numbinside dot net
New email:
PHP Version: OS:

 

 [2005-04-02 23:51 UTC] nofulfillment at numbinside dot net
Description:
------------
I would like to request a short(?) modification to the path handling functions for php.ini.

Basically, I'd like to see support for ~ home directories on *nix (and others, if it pertains) for settings such as open_basedir, safe_mode_exec_dir, safe_mode_include_dir, etc. (I didn't directly try the safe_mode_* ones that I listed, but supposed that they didn't work--correct me if I'm wrong).

Thanks

-Wes


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-27 07:31 UTC] krakjoe@php.net
-Status: Open +Status: Wont fix -Package: Feature/Change Request +Package: *General Issues
 [2016-03-27 07:31 UTC] krakjoe@php.net
We still can't use ~; your shell expands the tilde.

There's no real incentive (or need) to do this; Configuration files can use ENV vars, such that:

    include_path="${HOME}/my-includes"

Is perfectly valid, and covers your use case.

Sorry about the wait :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC