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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sun Nov 17 12:01:34 2019 UTC