Edit report at https://bugs.php.net/bug.php?id=54197&edit=1

 ID:                 54197
 Comment by:         mattfic...@php.net
 Reported by:        julientld at free dot fr
 Summary:            [PATH=] sections incompatibility with
                     user_ini.filename set to null
 Status:             Analyzed
 Type:               Bug
 Package:            PHP options/info functions
 Operating System:   Windows Server 2003 SP2
 PHP Version:        5.3.5
 Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

I can reproduce this problem on Windows 2003 (and also Windows 2008r2).

The attached patch, when php recompiled, fixes the problem for me. It fixes it 
both on 5.3.5 and 5.3.10 on Windows 2003 and Windows 2008r2.


Previous Comments:
------------------------------------------------------------------------
[2012-03-01 11:16:18] julientld at free dot fr

Hi,

Thanks for the patch. I will try it as soon as it is avaible in a beta version 
of PHP 5.3.x.

Julien

------------------------------------------------------------------------
[2012-03-01 10:35:42] a...@php.net

The bug was still in the 5.3 trunk, but it's section independent as there was 
an 
attepmpt to free an uninitialized variable. The bug is windows only. With the 
patch, putting

user_ini.filename =

outside the path section, both local and global values are null. Putting it 
into 
the section only local value is null.

------------------------------------------------------------------------
[2012-03-01 10:23:10] a...@php.net

The following patch has been added/updated:

Patch Name: fix_unintialized_doc_root
Revision:   1330597390
URL:        
https://bugs.php.net/patch-display.php?bug=54197&patch=fix_unintialized_doc_root&revision=1330597390

------------------------------------------------------------------------
[2012-01-16 21:45:42] info at garrant dot com

I have the exact issue with PHP 5.3.9 running on Windows 2008 IIS7.  When you 
try to uncomment user_ini.filename = and use a PATH section, there is a FastCGI 
error and all PHP pages will fail.  I even tried adding open quotes and it 
still fails with user_ini.filename = "".  I want to disable so sites cannot 
user individual .ini files.  How can we do this?

------------------------------------------------------------------------
[2011-03-09 13:22:14] paj...@php.net

So let do it the hard way until I work on the initial problem.

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=54197


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

Reply via email to