Skip to content

Instantly share code, notes, and snippets.

@mathewka
Created April 15, 2014 05:58
Show Gist options
  • Select an option

  • Save mathewka/10705828 to your computer and use it in GitHub Desktop.

Select an option

Save mathewka/10705828 to your computer and use it in GitHub Desktop.
Installation of PHPUnit
Installation of PHPUnit.
Open a command prompt and go to C:\xampp\php
Type "php go-pear.phar" (Installs new PEAR)
Type "pear update-channels" (updates channel definitions)
Type "pear upgrade --alldeps" (upgrades all existing packages and pear)
Type "pear channel-discover components.ez.no" (this is needed for PHPUnit)
Type "pear channel-discover pear.symfony-project.com" (also needed by PHPUnit)
Type "pear channel-discover pear.phpunit.de" (This IS phpunit)
Type "pear install --alldeps phpunit/PHPUnit" (installs PHPUnit and all dependencies)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment