|  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: -
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:
Status: Open Package: PHP options/info functions
PHP Version: 5.3.18 OS: Windows/IIS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 09 02:01:24 2021 UTC