专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »PHP教程 » pear安装:快速安装 Pear »正文

pear安装:快速安装 Pear

来源: 发布时间:星期一, 2009年1月12日 浏览:48次 评论:0
  Pear 是 PHP 类库集合用 tarbal 安装 php 后不定安装 pear 这里介绍个简单快速办法安装 pear

  lynx -source http://pear.php.net/go-pear | php -q

  安装完毕后用 pear -V 命令显示:

  PEAR Version: 1.4.9

  PHP Version: 4.4.2

  Zend Engine Version: 1.3.0

  Running on: SunOS hostname 5.10 Generic i86pc

  用

  pear --alldeps channel://pear.php.net/Image_Graph-0.7.2

  这样格式可以安装所需要包了

  Windows 下安装 Pear

  在和 php.exe 同个目录下有 go-pear.bat 文件运行后即可安装

  安装后生成:

  2006-08-01 14:35 4,557 pear.bat

  2006-08-01 14:35 4,565 peardev.bat

  2006-08-01 14:35 4,575 pecl.bat

  然后 pear list 即可查看安装

  pear 即可安装外部 pear 包

0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: