在zend server EC 5.3下安装Pear和PHPUnit----[windows版]
时间:2010-12-23 来源:panjeck
1)安装好Zend Server EC5.3
安装在C:\Program Files\Zend
2)修改C:\Program Files\Zend\ZendServer\bin的go-pear.bat 文件
修改后的内容是:
@ECHO OFF
set PHP_BIN=php.exe
rem %PHP_BIN% -d output_buffering=0 PEAR\go-pear.phar
%PHP_BIN% -d phar.require_hash=0 PEAR\go-pear.phar
pause 3)双击运行go-pear.bat 4)在cmd窗口下 pear upgrade pear 5)安装phpunit 在cmd窗口下 pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
set PHP_BIN=php.exe
rem %PHP_BIN% -d output_buffering=0 PEAR\go-pear.phar
%PHP_BIN% -d phar.require_hash=0 PEAR\go-pear.phar
pause 3)双击运行go-pear.bat 4)在cmd窗口下 pear upgrade pear 5)安装phpunit 在cmd窗口下 pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
相关阅读 更多 +