Bug #75997 [NEW]: phpinfo() reports wrong extension_dir path
| From: | chokolatrix at gmail dot com | Date: | Thu, 22 Feb 2018 16:41:27 +0000 |
| Subject: | Bug #75997 [NEW]: phpinfo() reports wrong extension_dir path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-214072@lists.php.net to get a copy of this message | ||
From: chokolatrix at gmail dot com
Operating system: Windows Server 2012 R2 x64
PHP version: 7.2.2
Package: PHP options/info functions
Bug Type: Bug
Bug description:phpinfo() reports wrong extension_dir path
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 bug report at https://bugs.php.net/bug.php?id=75997&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75997&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75997&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75997&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75997&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75997&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75997&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75997&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75997&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75997&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75997&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75997&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75997&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75997&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75997&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75997&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75997&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75997&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75997&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75997&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75997&r=mysqlcfg