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


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Oct 07 01:05:54 2022 UTC