簡體   English   中英

關於在Windows 7上的Xampp中安裝Pear

[英]regarding pear installation in xampp on windows 7

我在D:中使用了1.7.4的xampp版本。但是,當我在cmd中執行go-pear.bat文件時,顯示錯誤:“無法在1236行phar://go-pear.phar上打開流無效路徑。 /index.php。當我嘗試安裝pear時,“顯示c:// php // structure-graph的解壓縮失敗。 但是,當我只運行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"

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM