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

 ID:                 54203
 Updated by:         fel...@php.net
 Reported by:        carsten_sttgt at gmx dot de
 Summary:            Crash with global empty user_ini.filename and [PATH]
                     section
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            CGI related
 Operating System:   Windows
 PHP Version:        5.3.6RC3
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2011-03-11 09:25:35] carsten_sttgt at gmx dot de

Still exists in 5.3.6RC3

------------------------------------------------------------------------
[2011-03-09 16:09:52] carsten_sttgt at gmx dot de

Description:
------------
Ok, Pierre was writing this is a separate issue then #54197. So I'm opening a 
new one. 



The crash happens with PHP CGI if you are setting user_ini.filename at global 
level to none. And you must also have a PATH section for the current script.



This only happens with Windows. With *nix it's working as expected.

Test script:
---------------
adding this to "php.ini":

user_ini.filename =

[PATH=C:/Users/Public/Documents/htdocs/]

upload_max_filesize = 5M



And then accessing a phpinfo.php through CGI.

<?php

phpinfo();

?>



Expected result:
----------------
user_ini.filename       no value        no value

upload_max_filesize     5M              2M



Actual result:
--------------
php-cgi is crashing.




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



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

Reply via email to