|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63330 phpinfo() reports configuration that is not applicable
Submitted: 2012-10-22 11:46 UTC Modified: 2021-06-11 15:03 UTC
Avg. Score:4.6 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:4 (100.0%)
From: eis at iki dot fi Assigned: cmb (profile)
Status: Duplicate Package: PHP options/info functions
PHP Version: 5.3.18 OS: Windows/IIS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: eis at iki dot fi
New email:
PHP Version: OS:


 [2012-10-22 11:46 UTC] eis at iki dot fi
On windows, phpinfo() reports things set in the registry even though they are of 
type PHP_INI_PERDIR, so they are in fact not in effect, as documented in Notably upload_max_filesize 
and post_max_size are values that for example Plesk users keep hitting their heads 
with, as can be seen in these discussions:

Tested on IIS 7.5 system.

Test script:
Set post_max_size on the registry. Check phpinfo() output.

Expected result:
post_max_value not having impact on phpinfo() as it is PHP_INI_PERDIR setting and 
has no impact on PHP.

Actual result:
post_max_value updated as per registry on phpinfo() output, even though not 
effecting PHP.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-11 15:03 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-06-11 15:03 UTC]
Thanks for having reported this serious issue!  Unfortunately, the
ticket went unnoticed, and was only fixed later as bug #69134.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Sep 22 02:03:37 2021 UTC