I am trying to install PHPUnit_Invoker. I run the command pear install phpunit/PHP_Invoker
on the command line. I am getting this message:
No releases available for package "pear.phpunit.de/PHP_Invoker"
I have already installed PHPUnit and PEAR on a Windows machine. Is anybody also facing similar problem?
I tried again and I get this message in console:
phpunit/PHP_Invoker requires PHP extension "pcntl" No valid packages found install failed
The PHP extension “PCNTL” (Process Control), required by PHP_Invoker, currently does not function on non-Unix platforms (Windows).
Source: http://www.php.net/manual/en/pcntl.installation.php (Jan 31, 2013)
Try :
>pear config-set auto_discover 1
>pear clear-cache
>pear install pear.phpunit.de/PHPUnit
I had the same issue but that seem to have installed with WAMP on Windows 7
'force' should do the job
pear install --alldeps --force phpunit/PHPUnit
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With