php.net |  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
Votes:5
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eis at iki dot fi
New email:
PHP Version: OS:

 

 [2012-10-22 11:46 UTC] eis at iki dot fi
Description:
------------
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 
http://php.net/manual/en/configuration.changes.php. 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:

http://stackoverflow.com/questions/11730198/php-post-max-size-local-value-
overridden-by-master-value-on-plesk-iis
http://stackoverflow.com/questions/13007906/php-upload-500-internal-server-
error/13008975

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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-11 15:03 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-06-11 15:03 UTC] cmb@php.net
Thanks for having reported this serious issue!  Unfortunately, the
ticket went unnoticed, and was only fixed later as bug #69134.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC