pear 安装总失败,是哪里不兼容吗?

wouhuh198343 2008-08-19 11:07:40

我装PEAR 可安装失败 显示下面的东西

E:\NCC\workspace\php5

E:\NCC\workspace\php5>go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : (在这里我输入了system)

Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.

1. Installation base ($prefix) : ( 回车,默认E:\NCC\workspace\php5)
2. Binaries directory : (回车,默认E:\NCC\workspace\php5)
3. PHP code directory ($php_dir) : (回车,默认E:\NCC\workspace\php5\pear)
4. Documentation directory : (回车,默认E:\NCC\workspace\php5\docs)
5. Data directory : (回车,默认E:\NCC\workspace\php5\data)
6. Tests directory : (回车,默认E:\NCC\workspace\php5\tests)
7. Name of configuration file : (回车,默认C:windows\php.ini,这里有点奇怪啊)
8. Path to CLI php.exe : (回车,默认E:\NCC\workspace\php5)

1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd.php on line 268
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar...


Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2334

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.
ar', invalid or missing package file

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2334

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2
tar', invalid or missing package file

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2334

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/Archive/T
r.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar',
nvalid or missing package file

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd/Install.php on line 427

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd/Install.php on line 427

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd/Install.php on line 427

Warning: Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/Comm
nd/Install.php on line 429

install failed
请按任意键继续. . .

请问这是怎没回事?谢谢指点!
...全文
174 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
wouhuh198343 2008-12-27
  • 打赏
  • 举报
回复
好像安装symfony的时候,要用到PEAR
Zijian_Zhang 2008-12-24
  • 打赏
  • 举报
回复
用include、require直接用,不要安装了
wouhuh198343 2008-12-24
  • 打赏
  • 举报
回复
谢谢大家的指点,!!!
qngzh 2008-08-19
  • 打赏
  • 举报
回复
这个我现在都忘了,你直接用xampp吧!
飞扬 2008-08-19
  • 打赏
  • 举报
回复
没有遇到过这么一个问题,是PHP那个版本,是不是PHP配置的问题哦.
mynamesucks 2008-08-19
  • 打赏
  • 举报
回复
没装过
都是直接require用的

21,887

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧