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

From: Date: Mon, 04 May 2020 09:01:50 +0000
Subject: Bug #79557 [Opn]: extension_dir = "./ext" now use current directory for base
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226898@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79557&edit=1

 ID:                 79557
 Updated by:         cmb@php.net
 Reported by:        laurinkeithdavis at gmail dot com
 Summary:            extension_dir = "./ext" now use current directory
                     for base
 Status:             Open
 Type:               Bug
 Package:            Dynamic loading
 Operating System:   Windows
 PHP Version:        7.4.5
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I can confirm the reported behavior.  Using "ext" instead of
"./ext" works, though.


Previous Comments:
------------------------------------------------------------------------
[2020-05-02 15:38:19] laurinkeithdavis at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=79557&edit=1


Thread (6 messages)

« previous php.bugs (#226898) next »