Skip to content

Instantly share code, notes, and snippets.

@calpo
Created March 23, 2012 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calpo/2167480 to your computer and use it in GitHub Desktop.
Save calpo/2167480 to your computer and use it in GitHub Desktop.
xampp導入後のPHPUnitインストール
rem http://www.apachefriends.org/jp/xampp-windows.html から
rem C:\xampp にXAMPPをインストールしてあるものとする
rem PHPUnitはもともと入ってるけどちょっと古いので
rem php.iniを編集
rem extension=php_curl.dll
rem zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
rem を有効に
cd C:\xampp\php
pear clear-cache
pear upgrade pear
pear update-channels
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear uninstall PHPUnit
pear uninstall PHPUnit2
del C:\xampp\php\phpunit
del C:\xampp\php\phpunit.bat
rmdir /S /Q C:\xampp\php\PEAR\PHPUnit
rmdir /S /Q C:\xampp\php\PEAR\PHPUnit2
pear install phpunit/PHPUnit
pear install phpunit/DbUnit
pear install phpunit/PHPUnit_Selenium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment