install pear and php unit

March 18th, 2011 § 2 comments

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.

Update
Make sure you added a path to php.exe into the Environment variable(php) in windows.

 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 

Revath S Kumar [RSK]

- Rubyist / JavaScripter - Yeoman Team member - Open source enthusiast - Blogger @ PHPRepo and http://blog.revathskumar.com - Coder @ Whatznear - Google fanboy - jQuery lover

More Posts - Website - Twitter - Facebook - LinkedIn - Pinterest - Google Plus - YouTube

Tagged , ,