How to install PEAR with EasyPHP 5.3.8?(如何使用 EasyPHP 5.3.8 安装 PEAR?)
问题描述
我正在学习 Yii 并关注 Jeffrey 撰写的电子书Winesett,该应用程序是基于 TDD 构建的.所以我需要安装 PHPUnit 来编写单元测试,这导致我发布帮助为我的 Windows 7 安装 PEAR(参考.链接 1, 链接 2).
I'm learning Yii and following ebook written by Jeffrey Winesett, the application is built upon TDD. So I need to install PHPUnit to write unit test, which leads me to posts help installing PEAR for my Windows 7 (ref. link 1, link 2).
在上述网站中,作者一直告诉在我的 EasyPHP 5.3.8 中使用 go-pear.bat
不存在,这也是最新的发言时的版本.
And in those above sites, the author keep telling to use go-pear.bat
which doesn't exist in my EasyPHP 5.3.8 which also be the latest version at the time of speaking.
即使在 这篇 EasyPHP 论坛帖子中我们也找不到答案.
Even in this EasyPHP forum post we cannot find the answer.
那么问题来了,如何用 EasyPHP 5.3.8 安装 PEAR?
So the question is, how to install PEAR with EasyPHP 5.3.8?
我正在使用:
- Netbeans PHP 7.0.1 作为 PHP 的 IDE.
- EasyPHP 5.3.8 作为 A M P 包
推荐答案
脚本 go-pear.php 不适用于某些新的 php 版本.我的解决方案:
the script go-pear.php doesn't work on some new php version. My solution :
从 http://pear.php.net/go-pear 将文件下载到 php 文件夹中.phar
(在管理员模式下使用 Windows 控制台)并从 php 文件夹类型:php go-pear.phar
(use the windows console in mode admin) and from php folder type : php go-pear.phar
这篇关于如何使用 EasyPHP 5.3.8 安装 PEAR?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用 EasyPHP 5.3.8 安装 PEAR?


- 带有通配符的 Laravel 验证器 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- SoapClient 设置自定义 HTTP Header 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- Laravel 仓库 2022-01-01