如何用EasyPHP 5.3.8安装PEAR? [英] How to install PEAR with EasyPHP 5.3.8?

查看:258
本文介绍了如何用EasyPHP 5.3.8安装PEAR?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习Yii,并关注Jeffrey编写的电子书Winesett ,该应用程序基于TDD构建.因此,我需要安装PHPUnit来编写单元测试,这导致我发布了为Windows 7安装PEAR的帮助(参考链接1

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 exists 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?

此致

Nam

ps.

我正在使用:

  • 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 :

从php文件夹中下载 http://pear.php.net/go-pear中的文件.phar

dowload in php folder the file from http://pear.php.net/go-pear.phar

(在admin模式下使用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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆