Req #61017 [Fbk->Opn]: ~ in include_path

From: Date: Thu, 09 Feb 2012 17:11:29 +0000
Subject: Req #61017 [Fbk->Opn]: ~ in include_path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-167356@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
 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)

« previous php.bugs (#167356) next »