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

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

 New Comment:

Still exists in 5.3.6RC3


Previous Comments:
------------------------------------------------------------------------
[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