I am trying to get PHPUnit up and running the following are the steps I am currently following:
### Install new PEAR Version needed for PHPUnit 3.X
### Downl
You cannot install PHPUnit via PEAR anymore https://stackoverflow.com/a/28457160/1783439
PHPUnit now comes as part of XAMPP. You can find it here: C:\xampp\php
.
At the command prompt:
cd c:\xampp\php
phpunit
It seems the issue is not with PHPUnit but with your pear installation in general.
The user you run the install with does not have the privileges to create the needed folders.
Ether fix those permissions or start the cmd prompt with admin privileges (windowsbutton & enter "cmd" then strg+shift+enter) and rerun the commands.