Bug #75997 [Opn->Fbk]: phpinfo() reports wrong extension_dir path
| From: | ab@php.net | Date: | Fri, 23 Feb 2018 15:01:24 +0000 |
| Subject: | Bug #75997 [Opn->Fbk]: phpinfo() reports wrong extension_dir path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214082@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75997&edit=1
ID: 75997
Updated by: ab@php.net
Reported by: chokolatrix at gmail dot com
Summary: phpinfo() reports wrong extension_dir path
-Status: Open
+Status: Feedback
Type: Bug
Package: PHP options/info functions
Operating System: Windows Server 2012 R2 x64
PHP Version: 7.2.2
Block user comment: N
Private report: N
New Comment:
Looks like an environment issue. It doesn't matter, where the loaded ini file is, but the
actual directive there. Some might be also affected by registry and other factors, please see the
manual.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2018-02-22 16:41:27] chokolatrix at gmail dot com
Description:
------------
phpinfo() wrongly reports "extension_dir" Local Value as "C:\php\ext" instead of
the real path.
-- php.ini --
extension_dir = "ext"
-- /php.ini --
It seems to only be a display error because the extentions are actually loaded from the real path.
Php.ini is loaded correctly, as reported by "Loaded Configuration File" :
C:\php-7.2.2-nts-Win32-VC15-x64\php.ini
Test script:
---------------
<?php
phpinfo();
Expected result:
----------------
"extension_dir" Local Value "C:\php-7.2.2-nts-Win32-VC15-x64\ext"
Actual result:
--------------
"extension_dir" Local Value "C:\php\ext"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75997&edit=1