【发布时间】: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
我在 D: 中使用 xampp 版本的 1.7.4。但是当我在 cmd 中执行 go-pear.bat 文件时显示错误:“无法在 1236 行 phar://go- 上打开流无效路径pear.phar/index.php。 当我尝试安装 pear 时,显示“c://php//structure-graph 解包失败。 但是当我只运行 pear 时,它会显示所有命令。 请大家帮忙。
【问题讨论】:
标签: php
这可能是由于您的 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"
【讨论】: