Bug #54204 [Com]: Can't set a value with a PATH section in php.ini
| From: | whistl0r+php at googlemail dot com | Date: | Mon, 18 Jul 2011 13:39:45 +0000 |
| Subject: | Bug #54204 [Com]: Can't set a value with a PATH section in php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161964@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54204&edit=1
ID: 54204
Comment by: whistl0r+php at googlemail dot com
Reported by: carsten_sttgt at gmx dot de
Summary: Can't set a value with a PATH section in php.ini
Status: Feedback
Type: Bug
Package: *General Issues
Operating System: Windows
PHP Version: 5.3.6RC3
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Hi,
I can confirm, that this bug is solved in the latest 5.4 snapshot (I tested
php-5.4-nts-windows-vc9-x86-r313371). Thank you!
Will we see the backport in 5.3.7 or is it too late?
Previous Comments:
------------------------------------------------------------------------
[2011-07-18 06:26:03] pajoye@php.net
Please try using this snapshot:
http://snaps.php.net/php5.4-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
If it works I will backport the fix to 5.3 as well.
------------------------------------------------------------------------
[2011-07-18 06:25:30] pajoye@php.net
Automatic comment from SVN on behalf of pajoye
Revision: http://svn.php.net/viewvc/?view=revision&revision=313371
Log: - fix bug #54204, Can't set a value with a PATH section in php.ini
------------------------------------------------------------------------
[2011-03-19 00:16:20] whistl0r+php at googlemail dot com
I can confirm this bug in the final 5.3.6 release.
------------------------------------------------------------------------
[2011-03-11 09:26:39] carsten_sttgt at gmx dot de
Still exists in 5.3.6RC3
------------------------------------------------------------------------
[2011-03-09 16:22:36] carsten_sttgt at gmx dot de
Description:
------------
I can't set a value inside a PATH section. The PATH section is for the current script.
This only happens with Windows. With *nix it's working as expected.
Additionally this only happens with PHP5.3.6RC2, but not with 5.3.5.
Test script:
---------------
adding this to "php.ini":
[PATH=C:/Users/Public/Documents/htdocs/]
upload_max_filesize = 5M
And then accessing a phpinfo.php through CGI.
<?php
phpinfo();
?>
Expected result:
----------------
upload_max_filesize 5M 2M
Actual result:
--------------
upload_max_filesize 2M 2M
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54204&edit=1