Bug #63330 [Opn->Dup]: phpinfo() reports configuration that is not applicable
| From: | cmb@php.net | Date: | Fri, 11 Jun 2021 15:03:52 +0000 |
| Subject: | Bug #63330 [Opn->Dup]: phpinfo() reports configuration that is not applicable | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-234365@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=63330&edit=1
ID: 63330
Updated by: cmb@php.net
Reported by: eis at iki dot fi
Summary: phpinfo() reports configuration that is not
applicable
-Status: Open
+Status: Duplicate
Type: Bug
Package: PHP options/info functions
Operating System: Windows/IIS
PHP Version: 5.3.18
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for having reported this serious issue! Unfortunately, the
ticket went unnoticed, and was only fixed later as bug #69134.
Previous Comments:
------------------------------------------------------------------------
[2012-10-22 11:46:28] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63330&edit=1