From: Stig Bakken Date: Mon, 27 Aug 2001 20:29:33 +0000 (+0000) Subject: * add the directory where php.exe was found to PATH to help Windows X-Git-Tag: PRE_SUBST_Z_MACROS~335 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb610787fffe0d61828b1d36fa7a79ebcd7d039d;p=php * add the directory where php.exe was found to PATH to help Windows find its DLLs --- 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();