Req #61017 [Opn->Fbk]: ~ in include_path
| From: | rasmus@php.net | Date: | Wed, 08 Feb 2012 17:25:31 +0000 |
| Subject: | Req #61017 [Opn->Fbk]: ~ in include_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-167304@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61017&edit=1
ID: 61017
Updated by: rasmus@php.net
Reported by: spamik at yum dot pl
Summary: ~ in include_path
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
How would that work? Generally the web server will run as some generic user, so ~
and $LOGIN will not have a meaningful value.
Previous Comments:
------------------------------------------------------------------------
[2012-02-08 17:21:02] spamik at yum dot pl
Description:
------------
include_path needs something for home directory or username substitution. Without
it tens of tousands of unmanagable php.ini specific to every username are needed.
in php.ini
include_path = ".:~/pear/php/"
or
include_path = ".:/home/$LOGIN/pear/php/"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61017&edit=1