Req #61017 [Fbk->Opn]: ~ in include_path
Edit report at https://bugs.php.net/bug.php?id=61017&edit=1
ID: 61017
User updated by: spamik at yum dot pl
Reported by: spamik at yum dot pl
Summary: ~ in include_path
-Status: Feedback
+Status: Open
Type: Feature/Change Request
Package: *General Issues
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
right, people are still using mod_php :( That of course is not a issue with suexec
+ fastcgi
Previous Comments:
------------------------------------------------------------------------
[2012-02-08 17:25:31] rasmus@php.net
How would that work? Generally the web server will run as some generic user, so ~
and $LOGIN will not have a meaningful value.
------------------------------------------------------------------------
[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
Thread (3 messages)