Bug #79557 [NEW]: extension_dir = "./ext" now use current directory for base

From: Date: Sat, 02 May 2020 15:38:19 +0000
Subject: Bug #79557 [NEW]: extension_dir = "./ext" now use current directory for base
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226880@lists.php.net to get a copy of this message
From: laurinkeithdavis at gmail dot com Operating system: Windows PHP version: 7.4.5 Package: Dynamic loading Bug Type: Bug Bug description:extension_dir = "./ext" now use current directory for base Description: ------------ 7.4 on Windows, the issue of the working directory being used instead of the base directory appears to be happening again. Same as: https://bugs.php.net/bug.php?id=74866 Test script: --------------- php.ini for both has this setting. extension_dir = "./ext/" 7.4: c:\jenkins-php-tools>C:\PHP\php.exe -cc:/PHP/devrc/php.ini 7.3.16: c:\jenkins-php-tools>C:\PHP\php.exe -cc:/PHP/devrc/php.ini Expected result: ---------------- (loads, no errors) Actual result: -------------- 7.4: Warning: PHP Startup: Failed to load ./ext/php_curl.dll, The system cannot find the file specified. in Unknown on line 0 Warning: PHP Startup: Failed to load ./ext/php_fileinfo.dll, The system cannot find the file specified. in Unknown on line 0 Warning: PHP Startup: Failed to load ./ext/php_gd2.dll, The system cannot find the file specified. in Unknown on line 0 7.3: No errors -- Edit bug report at https://bugs.php.net/bug.php?id=79557&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79557&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79557&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79557&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79557&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79557&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79557&r=support Expected behavior: https://bugs.php.net/fix.php?id=79557&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79557&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79557&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79557&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79557&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79557&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79557&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79557&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79557&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79557&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79557&r=mysqlcfg

« previous php.bugs (#226880) next »