php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60609 --with-config-file-scan-dir and ~
Submitted: 2011-12-26 09:04 UTC Modified: -
From: psssq at o2 dot pl Assigned:
Status: Open Package: *Compile Issues
PHP Version: 5.3.8 OS: Debian Squeezy
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: psssq at o2 dot pl
New email:
PHP Version: OS:

 

 [2011-12-26 09:04 UTC] psssq at o2 dot pl
Description:
------------
Compile with "--with-config-file-scan-dir" has a problem accessing the user's home directory via "~"
After you compile with the "~" "--with-config-file-scan-dir = ~/.php/php5.d" always goes to the /root directory (Scan this dir for additional. Ini files /root/.php/php5.d).
PHP is run with user privileges by mod_fcgid and suexec.
I tested PHP 5.3.8 and PHP 5.4RC4, but there also is not checked "~".

Currently works only yes "export PHP_INI_SCAN_DIR ="/home/USER/.php/php5.d""
Will it be possible to use ~/?

Sorry for my english...


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 17:01:30 2019 UTC