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
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: 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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 20:01:36 2025 UTC