diff options
| author | Stig Bakken <ssb@php.net> | 2001-08-27 20:29:33 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 2001-08-27 20:29:33 +0000 |
| commit | fb610787fffe0d61828b1d36fa7a79ebcd7d039d (patch) | |
| tree | 60acb074eac92fed6533e1764e73f23c9a759188 | |
| parent | d1d848c1712c2dd4b8eacda9be2968c05c29ead2 (diff) | |
| download | php-git-fb610787fffe0d61828b1d36fa7a79ebcd7d039d.tar.gz | |
* add the directory where php.exe was found to PATH to help Windows
find its DLLs
| -rwxr-xr-x | run-tests.php | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
