【问题标题】:regarding pear installation in xampp on windows 7关于 Windows 7 上 xampp 中的梨安装
【发布时间】:2012-01-30 09:27:29
【问题描述】:

我在 D: 中使用 xampp 版本的 1.7.4。但是当我在 cmd 中执行 go-pear.bat 文件时显示错误:“无法在 1236 行 phar://go- 上打开流无效路径pear.phar/index.php。 当我尝试安装 pear 时,显示“c://php//structure-graph 解包失败。 但是当我只运行 pear 时,它会显示所有命令。 请大家帮忙。

【问题讨论】:

标签: php


【解决方案1】:

这可能是由于您的 php.ini 中的 include_path 配置错误,请确保 PEAR 文件夹的路径是 include_path 设置的一部分,即:

; PHP's default setting for include_path is ".;/path/to/php/pear"
; http://php.net/include-path
include_path = ".;D:\xampp\php\PEAR"

【讨论】:

  • include_path 与您给出的一样。lawrencealen 现在该怎么办
  • 嘿非常感谢现在它工作正常。“go-pear”文件中有错误。更新版本的下载工作............:)
猜你喜欢
  • 2012-01-17
  • 2013-02-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-08-03
  • 2014-09-12
  • 2015-08-09
相关资源
最近更新 更多