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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2023-05-18 10:56 UTC] getshoppingtips at gmail dot com
Get Shopping Tips are sharing latest news about shopping, fashion, lifestyle, clothing, wedding, dressing, photography etc. More info to visit: (https://getshoppingtips.com)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 12:01:28 2024 UTC