Here is the step by step procedure to install pear and PHPUnit framework.
You can install pear either through browser or through command line. I highly recommend you to use command line since i failed twice in browser.
Make sure you added a path to php.exe into the Environment variable(php) in windows.
- Download go-pear.php from http://pear.php.net/go-pear
- Open the command line and run it.
cd /path/to/php/ php.exe path/to/go-pear.php
- A wizard will take you to provide settings
IF the installation is success now its time to install the PHPUnit framework
- run these commands
pear channel-discover pear.phpunit.de pear channel-discover components.ez.no pear channel-discover pear.symfony-project.com pear install phpunit/PHPUnit