|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
28 - 6 = ?
Subscribe to this entry?

 [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: Thu May 06 11:01:23 2021 UTC