【问题标题】:PEAR config-set errorPEAR 配置集错误
【发布时间】:2013-09-03 20:10:32
【问题描述】:
  • 操作系统:Win 7
  • XAMPP 1.7.7 便携版
  • Windows 命令提示符
  • D:是拇指驱动器

我正在尝试关注这个post to fix PEAR settings

当我输入pear config-show时,这些值被返回。

PEAR executables directory     bin_dir          D:\path\to\xampp\php
User Configuration File        Filename         C:\Windows\pear.ini
System Configuration File      Filename         C:\Windows\pearsys.ini


我的机器上没有本地 PEAR 文件。当我进入时:

pear config-set doc_dir D:\path\to\php\pear\docs  

这是返回

config-set: only the layers: "user" or system are supported

我该如何解决这个问题?

【问题讨论】:

    标签: php xampp pear


    【解决方案1】:
    $ pear help config-set
    pear config-set [options] <parameter> <value> [layer]
    

    可能是你的路径中的某个地方有一个空间?如果是,您必须引用该论点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-09-18
      • 1970-01-01
      • 2012-04-17
      • 1970-01-01
      • 2011-08-07
      • 2011-08-22
      • 2012-02-15
      相关资源
      最近更新 更多