关于Windows 7上xampp中的pear安装


regarding pear installation in xampp on windows 7

我使用的是放置在D:的xampp 1.7.4版本。但是,当我在cmd中执行go-pear.bat文件时,显示错误:"未能在1236行打开流无效路径phar://go-pear.phar/index.php。当我试图安装pear时,"unpacking failed of c://php//structuregraph"显示。但是当我只运行pear时,它会显示所有的命令。

这可能是由于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"