Monday, March 7, 2011

Installing PHPUnit to run phpunit.xml for Zend Server 5.3.1

1. Install PEAR by running go-pear.bat

if it starts to complain about: “… does not have a signature …” change the go-pear.bat to the following:

1
2
3
4
@ECHO OFF
set PHP_BIN=php.exe
%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause

2. Update pear:

pear channel-update pear.php.net

pear upgrade pear

3 Install PHPUnit via PEAR by running:

pear channel-discover pear.phpunit.de

pear install phpunit/PHPUnit



No comments:

Post a Comment