Bug #78458 [NEW]: extension_dir="./ext" in php.ini is not working
| From: | billy78 at gmail dot com | Date: | Mon, 26 Aug 2019 14:26:59 +0000 |
| Subject: | Bug #78458 [NEW]: extension_dir="./ext" in php.ini is not working | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222419@lists.php.net to get a copy of this message | ||
From: billy78 at gmail dot com
Operating system: Windows 7 SP1
PHP version: 7.2.21
Package: Dynamic loading
Bug Type: Bug
Bug description:extension_dir="./ext" in php.ini is not working
Description:
------------
I have PHP v7.2.21 installed as Apache module (php7apache2_4.dll).
Apache is installed in C:\Apache24 and PHP is installed in
C:\Apache24\php. I use Windows 7 SP1.
I cannot use current directory or relative directory in php.ini for
extension_dir
This also occurs with v7.1.31 and v7.3.8
If I use an absolute path, it works.
Test script:
---------------
extension_dir = "./ext"
extension=pdo_sqlite
extension=sqlite3
or
extension_dir = "ext"
extension=pdo_sqlite
extension=sqlite3
Expected result:
----------------
sqlite module is loaded.
Actual result:
--------------
sqlite module is not loaded.
--
Edit bug report at https://bugs.php.net/bug.php?id=78458&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78458&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78458&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78458&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78458&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78458&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78458&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78458&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78458&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78458&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78458&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78458&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78458&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78458&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78458&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78458&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78458&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78458&r=mysqlcfg