码迷,mamicode.com
首页 > Windows程序 > 详细

Windows下获取和安装PEAR包管理器 Getting and installing the PEAR package manager

时间:2016-06-05 21:26:34      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

1. 安装PHP,确保能使用能在命令行使用php命令;

C:\Users\YangLong>php -v
PHP 5.6.4 (cli) (built: Dec 17 2014 13:20:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.6, Copyright (c) 2002-2014, by Derick Rethans

2. 下载 https://pear.php.net/go-pear.phar ,并存储到c:\php\go-pear.phar;

3. 运行php go-pear.phar安装,你会看到一些提示,直接回车就好;

4. 检查PEAR是否工作

C:\Users\YangLong>pear version
PEAR Version: 1.10.1
PHP Version: 5.6.4
Zend Engine Version: 2.6.0
Running on: Windows NT YANGLONGPC 6.2 build 9200 (Windows 8 Enterprise Edition) i586

5. 验证include path

C:\Users\YangLong>pear config-get php_dir
C:\php\pear

 

Windows下获取和安装PEAR包管理器 Getting and installing the PEAR package manager

标签:

原文地址:http://www.cnblogs.com/longzhu/p/5561769.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!