相关疑难解决方法(0)

使用xampp安装PEAR和PHPUnit

我正在尝试启动PHPUnit并运行以下是我目前正在遵循的步骤:

### Install new PEAR Version needed for PHPUnit 3.X
### Download:  http://pear.php.net/go-pear.phar Save it under C:\xampp\php

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 …
Run Code Online (Sandbox Code Playgroud)

php installation pear phpunit

25
推荐指数
4
解决办法
4万
查看次数

标签 统计

installation ×1

pear ×1

php ×1

phpunit ×1