From fb610787fffe0d61828b1d36fa7a79ebcd7d039d Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Mon, 27 Aug 2001 20:29:33 +0000 Subject: [PATCH] * add the directory where php.exe was found to PATH to help Windows find its DLLs --- run-tests.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run-tests.php b/run-tests.php index 1cc4592c2b..43db6ca6c7 100755 --- a/run-tests.php +++ b/run-tests.php @@ -168,6 +168,11 @@ function initialize() dowriteln("available in the PATH environment variable."); exit; } + if ($windows_p) { + // modify path to help Windows find DLL files + $path = dirname($php) . ";" . getenv("PATH"); + setenv("PATH={$path}"); + } create_compiled_in_modules_list(); -- 2.50.1