#48811 [Opn->Fbk]: Directives in PATH section do not get applied to subdirectories

From: Date: Mon, 30 Nov 2009 19:38:02 +0000
Subject: #48811 [Opn->Fbk]: Directives in PATH section do not get applied to subdirectories
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145236@lists.php.net to get a copy of this message
 ID:               48811
 Updated by:       jani@php.net
 Reported By:      ct at swin dot edu dot au
-Status:           Open
+Status:           Feedback
 Bug Type:         PHP options/info functions
 Operating System: Red Hat Enterprise Linux 5
 PHP Version:      5.3.0
 New Comment:

There is no patch there. If it's simple and not very long, add it here
as comment instead. 


Previous Comments:
------------------------------------------------------------------------

[2009-07-06 06:26:40] ct at swin dot edu dot au

Description:
------------
A php.ini file with directives in a PATH section do not get applied for
subdirectories in the defined path.

For example

[PATH=/vhost/www.example.com/dir1]

will work for scripts in /vhost/www.example.com/dir1, but not
/vhost/www.example.com/dir1/dir2.

I have fixed this on my system using the following patch
http://pastebin.com/m7e79576f








------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48811&edit=1



Thread (9 messages)

« previous php.bugs (#145236) next »