How can I get a phpunit.bat after install phpunit via PEAR?(通过 PEAR 安装 phpunit 后如何获取 phpunit.bat?)
问题描述
我需要一个 phpunit.bat 来配置我的 NetBeans IDE.
I need a phpunit.bat to configure my NetBeans IDE.
我正在使用 wamp,我只是使用这些说明通过 pear 安装 phpunit:
I'm using wamp, and I just install phpunit via pear using these instructions:
在开始使用 PEAR 之前,通过从 http://pear.php 下载最后一个 go-pear 进行更新.net/go-pear.phar 并保存到:C:wampinphpphp5.3.3PEAR
Before start using PEAR, Update by downloading last go-pear from http://pear.php.net/go-pear.phar and save it into: C:wampinphpphp5.3.3PEAR
然后:
cd C:wampinphpphp5.3.0>
php -d phar.require_hash=0 PEAR/go-pear.phar
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear install phpunit/PHPUnit
之后我找不到任何 phpunit.bat 或 phpunit.php
After do that I can't find any phpunit.bat or phpunit.php
通过 PEAR 安装 phpunit 后如何获取 phpunit.bat(或任何 CLI)?
How can I get a phpunit.bat (or any CLI) after install phpunit via PEAR?
推荐答案
类型:
pear config-show
查找 PEAR 可执行文件目录
你的 phpunit.bat
会在那里.
如果不是:
pear install --alldeps --force phpunit/phpunit
再看一遍.
这篇关于通过 PEAR 安装 phpunit 后如何获取 phpunit.bat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:通过 PEAR 安装 phpunit 后如何获取 phpunit.bat?


基础教程推荐
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 如何替换eregi() 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01