I have installed PHP 5.4. Now I need to install PHPUnit for unit testing.

- Install pear if not installed

Download http://pear.php.net/go-pear.phar

Run cmd line and enter cmd:

php go-pear.phar

- Run cmds to install PHPUnit and skeleton gen

pear config-set auto_discover 1

pear install pear.phpunit.de/PHPUnit

pear install phpunit/PHPUnit_SkeletonGenerator