Bug #54206 [Opn->Fbk]: Crash with empty user_ini.filename inside a [PATH] section
| From: | felipe@php.net | Date: | Tue, 15 Nov 2011 23:49:28 +0000 |
| Subject: | Bug #54206 [Opn->Fbk]: Crash with empty user_ini.filename inside a [PATH] section | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-165202@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54206&edit=1
ID: 54206
Updated by: felipe@php.net
Reported by: carsten_sttgt at gmx dot de
Summary: Crash with empty user_ini.filename inside a [PATH]
section
-Status: Open
+Status: Feedback
Type: Bug
Package: CGI/CLI related
Operating System: Windows
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Please try using this snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2011-03-09 16:24:25] carsten_sttgt at gmx dot de
Description:
------------
The crash happens with PHP CGI if you are setting user_ini.filename inside a PATH section to none.
The PATH section is for the current script.
This only happens with Windows. With *nix it's working as expected.
In addition, this only happens with PHP5.3.5, but not with PHP5.3.6RC2 (see Bug #54204).
Test script:
---------------
adding this to "php.ini":
[PATH=C:/Users/Public/Documents/htdocs/]
user_ini.filename =
upload_max_filesize = 5M
And then accessing a phpinfo.php through CGI.
<?php
phpinfo();
?>
Expected result:
----------------
user_ini.filename no value .user.ini
upload_max_filesize 5M 2M
Actual result:
--------------
php-cgi is crashing.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54206&edit=1