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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
36 - 1 = ?
Subscribe to this entry?

 
 [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: Thu May 02 23:01:30 2024 UTC