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?


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