My system has two PHP interpreters. One came bundled with the OS and the other I installed via the XAMPP package. All of my PHP extensions are applied to the XAMPP installation but PHPUnit seems to only run the version of PHP that came with my machine.
Does anybody know of a way I can configure or rebuild PHPUnit so that it uses my XAMPP PHP interpreter exclusively?
Find the folder you installed PHPUnit in. There should be a file called phpunit.bat. It should have a line that reads something like
Change it to read
Or whatever the path to your PHP executable is