[php-src] Issue #10082: PHP on Windows should not rely on PATH for loading its DLL dependencies

From: Date: Sun, 11 Dec 2022 08:28:46 +0000
Subject: [php-src] Issue #10082: PHP on Windows should not rely on PATH for loading its DLL dependencies
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243093@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10082 Author: vrubleg ### Description PHP on Windows relies on PATH for loading its DLL dependencies. Sometimes it is unexpected and very inconvenient, especially when there are a few versions of PHP are installed at the same time. PHP doesn't need to rely on PATH, Windows 7+ supports AddDllDirectory ([docs](https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-adddlldirectory)) that allows to specify additional DLL search paths. It can be done for the whole process or for specific LoadLibrary calls. It will resolves issues like #10076.

« previous php.bugs (#243093) next »