2011-12-30 51 views
0

我使用1.7.4的xampp版本放置在D:.But當我在cmd中執行go-pear.bat文件時,顯示錯誤:「無法打開流無效路徑1236 line phar://go-pear.phar/index.php。 當我打算安裝梨然後「解包失敗的C://PHP//結構圖顯示。 但是,當我只運行梨,然後它顯示所有的命令。 請幫幫忙。關於在Windows 7上的xampp中安裝梨

+0

HTTP的可能重複:// stackoverflow.com/questions/4717547/cant-install-pear-on-windows-7-structures-graph-error – vstm 2011-12-30 08:09:32

回答

0

這可能是由於在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" 
+0

include_path就像你給的那樣。現在怎麼辦lawrencealen – Priyanka 2011-12-30 07:12:37

+0

粘貼你的包含路徑 – lawrencealan 2011-12-30 16:08:02

+0

嘿謝謝非常多現在它工作正常。「go-pear」文件出現錯誤,更新後版本的下載工作.......... :) – Priyanka 2012-01-02 09:40:19